summaryrefslogtreecommitdiffstats
path: root/Modules/TestForANSIForScope.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/TestForANSIForScope.cmake')
-rw-r--r--Modules/TestForANSIForScope.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/TestForANSIForScope.cmake b/Modules/TestForANSIForScope.cmake
index d7e2c92..9b4d51c 100644
--- a/Modules/TestForANSIForScope.cmake
+++ b/Modules/TestForANSIForScope.cmake
@@ -28,15 +28,15 @@ if("CMAKE_ANSI_FOR_SCOPE" MATCHES "^CMAKE_ANSI_FOR_SCOPE$")
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
"Determining if the CXX compiler understands ansi for scopes passed with "
"the following output:\n${OUTPUT}\n\n")
- else (CMAKE_ANSI_FOR_SCOPE)
+ else ()
message(STATUS "Check for ANSI scope - not found")
set (CMAKE_NO_ANSI_FOR_SCOPE 1 CACHE INTERNAL
"Does the compiler support ansi for scope.")
file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log
"Determining if the CXX compiler understands ansi for scopes failed with "
"the following output:\n${OUTPUT}\n\n")
- endif (CMAKE_ANSI_FOR_SCOPE)
-endif("CMAKE_ANSI_FOR_SCOPE" MATCHES "^CMAKE_ANSI_FOR_SCOPE$")
+ endif ()
+endif()