Fix the test setting COMPILE_DEFINITIONS target property

This commit is contained in:
Stephen Kelly 2012-08-21 11:05:07 +02:00
parent 733deb66c6
commit ca7fb14f9b
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ project(target_prop)
add_executable(target_prop_executable ../main.cpp) add_executable(target_prop_executable ../main.cpp)
set_target_properties(target_prop_executable PROPERTIES CMAKE_IS_FUN -DCMAKE_IS_REALLY="Very Fun") set_target_properties(target_prop_executable PROPERTIES COMPILE_DEFINITIONS CMAKE_IS_FUN)
set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS CMAKE_IS_REALLY="Very Fun" CMAKE_IS=Fun) set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS CMAKE_IS_REALLY="Very Fun" CMAKE_IS=Fun)
set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS CMAKE_IS_FUN CMAKE_IS_="Fun") set_property(TARGET target_prop_executable APPEND PROPERTY COMPILE_DEFINITIONS CMAKE_IS_FUN CMAKE_IS_="Fun")