[CMake] Setting compile defs with: Cuda, add_subdirectory, and set_target_properties (COMPILE_DEFINITIONS)

Brian Davis bitminer at gmail.com
Wed Jul 14 15:50:16 EDT 2010


>> Try changing your macro into a function instead.

I did try as you suggest and it works exactly the same as if it were a
macro.



More information about the CMake mailing list