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

8 lines
135 B
CMake
Raw Normal View History

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