diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2013-06-02 19:42:10 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2013-06-02 20:18:19 (GMT) |
commit | cd4451d1e738a729a1a8d0ed34b544cada1de078 (patch) | |
tree | 099468fd2b338fd193ccf9dd5c1701245d3e1a1f /Tests/SimpleInstall | |
parent | a4d8c64d10105fd4448ffde6a5d2fb74c1bb4f57 (diff) | |
download | CMake-cd4451d1e738a729a1a8d0ed34b544cada1de078.zip CMake-cd4451d1e738a729a1a8d0ed34b544cada1de078.tar.gz CMake-cd4451d1e738a729a1a8d0ed34b544cada1de078.tar.bz2 |
replace string(... MATCHES "^const$) with string(... STREQUAL "const")
Diffstat (limited to 'Tests/SimpleInstall')
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 2 |
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() |