Greetings,
on FreeBSD with cmake 3.17.2, I found I needed to rename a variable in
data/kernels/CMakeLists.txt in 3.0.2 release - "IN" does not seem to
work any longer and appears special. Renaming IN to i in two places
fixes a cmake "configure" abort.
Patch attached - please consider for inclusion.
Thanks
Matthias
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
--- data/kernels/CMakeLists.txt.orig 2020-04-15 07:10:53 UTC
+++ data/kernels/CMakeLists.txt
@@ -31,8 +31,8 @@ macro (testcompile_opencl_kernel IN)
endmacro (testcompile_opencl_kernel)
if (TESTBUILD_OPENCL_PROGRAMS)
- foreach(IN ${DT_OPENCL_KERNELS})
- testcompile_opencl_kernel(${IN})
+ foreach(i ${DT_OPENCL_KERNELS})
+ testcompile_opencl_kernel(${i})
endforeach()
endif()