summaryrefslogtreecommitdiffstats
path: root/Tests/Properties
diff options
context:
space:
mode:
authorMarcin Wojdyr <wojdyr@gmail.com>2012-08-15 15:59:36 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-08-15 20:50:29 (GMT)
commit84b49be8f02aaf230164163a39c09049ed9f306d (patch)
tree3a5ee12cf0270fae26b664fa1c3edd4c690a9d70 /Tests/Properties
parentaddefc2ae3b33a75a7152730146b46b319118a24 (diff)
downloadCMake-84b49be8f02aaf230164163a39c09049ed9f306d.zip
CMake-84b49be8f02aaf230164163a39c09049ed9f306d.tar.gz
CMake-84b49be8f02aaf230164163a39c09049ed9f306d.tar.bz2
Remove CMake multiline block-end command arguments
removing arguments omitted in 9db3116226cb99fcf54e936c833953abcde9b729
Diffstat (limited to 'Tests/Properties')
-rw-r--r--Tests/Properties/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/Tests/Properties/CMakeLists.txt b/Tests/Properties/CMakeLists.txt
index 7bf9c2d..285d596 100644
--- a/Tests/Properties/CMakeLists.txt
+++ b/Tests/Properties/CMakeLists.txt
@@ -53,15 +53,13 @@ get_property(SOURCERESULT
if (RESULT1 AND RESULT2 AND RESULT3 AND GLOBALRESULT AND
DIRECTORYRESULT AND SOURCERESULT)
add_executable (Properties SubDir/properties3.cxx properties)
-else (RESULT1 AND RESULT2 AND RESULT3 AND GLOBALRESULT AND
- DIRECTORYRESULT AND SOURCERESULT)
+else ()
message(SEND_ERROR
"Error: test results are RESULT1=${RESULT1} RESULT2=${RESULT2} "
"RESULT3=${RESULT3} GLOBALRESULT=${GLOBALRESULT} "
"DIRECTORYRESULT=${DIRECTORYRESULT} "
"SOURCERESULT=${SOURCERESULT}")
-endif (RESULT1 AND RESULT2 AND RESULT3 AND GLOBALRESULT AND
- DIRECTORYRESULT AND SOURCERESULT)
+endif ()
# test the target property
set_property(TARGET Properties PROPERTY TARGETTEST 1)