summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/TestForANSIStreamHeaders.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/TestForANSIStreamHeaders.cmake b/Modules/TestForANSIStreamHeaders.cmake
index 4e6542b..9b162ef 100644
--- a/Modules/TestForANSIStreamHeaders.cmake
+++ b/Modules/TestForANSIStreamHeaders.cmake
@@ -6,7 +6,7 @@
MESSAGE(${CMAKE_MAKE_PROGRAM})
MESSAGE(${PROJECT_BINARY_DIR})
-TRY_COMPILE(CMAKE_ANSI_STREAM_HEADERS ${CMAKE_ROOT}/MOdules/TestForANSIStreamHeaders.cxx ${PROJECT_BINARY_DIR})
+TRY_COMPILE(CMAKE_ANSI_STREAM_HEADERS ${CMAKE_ROOT}/Modules/TestForANSIStreamHeaders.cxx ${PROJECT_BINARY_DIR})
IF (CMAKE_ANSI_STREAM_HEADERS)
SET (CMAKE_NO_ANSI_STREAM_HEADERS 0 CACHE INTERNAL
"Does the compiler support headers like iostream.")
@@ -17,4 +17,6 @@ ELSE (CMAKE_ANSI_STREAM_HEADERS)
MESSAGE("We do not have ANSI HEADER support")
ENDIF (CMAKE_ANSI_STREAM_HEADERS)
+MARK_AS_ADVANCED(CMAKE_NO_ANSI_STREAM_HEADERS)
+