如何正确检查CMake中是否定义了宏?
macro(foo) message("foo") endmacro() if(<what goes here?>) foo() endif()
cmake
cmake ×1