summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstall/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-03 13:57:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-06-03 13:57:53 (GMT)
commitd114fc373c1499689265c6c12e95b86f2930b227 (patch)
tree60f5a5b2b8d8fd40fb63d86c0c2d5da470e35eea /Tests/SimpleInstall/CMakeLists.txt
parente57b6a25211ea28b7b01aadfc3aaf1de79455bdb (diff)
parentcd4451d1e738a729a1a8d0ed34b544cada1de078 (diff)
downloadCMake-d114fc373c1499689265c6c12e95b86f2930b227.zip
CMake-d114fc373c1499689265c6c12e95b86f2930b227.tar.gz
CMake-d114fc373c1499689265c6c12e95b86f2930b227.tar.bz2
Merge topic 'useless-MATCHES'
cd4451d replace string(... MATCHES "^const$) with string(... STREQUAL "const")
Diffstat (limited to 'Tests/SimpleInstall/CMakeLists.txt')
-rw-r--r--Tests/SimpleInstall/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt
index 479d6ec..b969bfd 100644
--- a/Tests/SimpleInstall/CMakeLists.txt
+++ b/Tests/SimpleInstall/CMakeLists.txt
@@ -122,7 +122,7 @@ if(STAGE2)
RESULT_VARIABLE SAMPLE_SCRIPT_RESULT
OUTPUT_VARIABLE SAMPLE_SCRIPT_OUTPUT
)
- if(NOT "${SAMPLE_SCRIPT_RESULT}" MATCHES "^0$")
+ if(NOT "${SAMPLE_SCRIPT_RESULT}" STREQUAL "0")
message(FATAL_ERROR
"Sample script [${CUR_SCRIPT}] failed: [${SAMPLE_SCRIPT_RESULT}]")
endif()