summaryrefslogtreecommitdiffstats
path: root/Tests/CTestScriptMode/CTestTestScriptMode.cmake.in
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CTestScriptMode/CTestTestScriptMode.cmake.in')
-rw-r--r--Tests/CTestScriptMode/CTestTestScriptMode.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestScriptMode/CTestTestScriptMode.cmake.in b/Tests/CTestScriptMode/CTestTestScriptMode.cmake.in
index 7731710..45f0e37 100644
--- a/Tests/CTestScriptMode/CTestTestScriptMode.cmake.in
+++ b/Tests/CTestScriptMode/CTestTestScriptMode.cmake.in
@@ -5,7 +5,7 @@ set(CMAKE_CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM_NAME@")
if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "${CMAKE_CMAKE_SYSTEM_NAME}")
message(FATAL_ERROR "Error: CMAKE_SYSTEM_NAME is \"${CMAKE_SYSTEM_NAME}\", but should be \"@CMAKE_SYSTEM_NAME@\"")
-endif(NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "${CMAKE_CMAKE_SYSTEM_NAME}")
+endif()
# this seems to be necessary, otherwise ctest complains that these
# variables are not set: