CMake/Tests/RunCMake/CMP0043/CMP0043-OLD.cmake

8 lines
135 B
CMake

cmake_policy(SET CMP0043 OLD)
add_library(foo empty.cpp)
set_property(TARGET foo
PROPERTY COMPILE_DEFINITIONS_DEBUG "DEBUG_MODE"
)