summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/CheckCMakeTest.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeTests/CheckCMakeTest.cmake')
-rw-r--r--Tests/CMakeTests/CheckCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/CheckCMakeTest.cmake b/Tests/CMakeTests/CheckCMakeTest.cmake
index 2e4fedd..db92905 100644
--- a/Tests/CMakeTests/CheckCMakeTest.cmake
+++ b/Tests/CMakeTests/CheckCMakeTest.cmake
@@ -12,7 +12,7 @@ function(check_cmake_test prefix)
)
string(REGEX REPLACE "\n" "\n out> " out " out> ${stdout}")
string(REGEX REPLACE "\n" "\n err> " err " err> ${stderr}")
- if(NOT "${result}" STREQUAL ${${test}-RESULT})
+ if(NOT "${result}" STREQUAL "${${test}-RESULT}")
message(FATAL_ERROR
"Test ${test} result is [${result}], not [${${test}-RESULT}].\n"
"Test ${test} output:\n"