summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-08-21 09:05:07 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-08-21 09:05:07 (GMT)
commitca7fb14f9b966805cb11fdf71648337b71c1047b (patch)
treec8406a867a35cd7f6ba89f0450322af7bf27c7c6 /Tests
parent733deb66c63dbbd8caa84f7630318c6f76da2d9f (diff)
downloadCMake-ca7fb14f9b966805cb11fdf71648337b71c1047b.zip
CMake-ca7fb14f9b966805cb11fdf71648337b71c1047b.tar.gz
CMake-ca7fb14f9b966805cb11fdf71648337b71c1047b.tar.bz2
Fix the test setting COMPILE_DEFINITIONS target property
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CompileDefinitions/target_prop/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CompileDefinitions/target_prop/CMakeLists.txt b/Tests/CompileDefinitions/target_prop/CMakeLists.txt
index 8248a21..6dbee9a 100644
--- a/Tests/CompileDefinitions/target_prop/CMakeLists.txt
+++ b/Tests/CompileDefinitions/target_prop/CMakeLists.txt
@@ -3,7 +3,7 @@ project(target_prop)
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_FUN CMAKE_IS_="Fun")