summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Templates/CMakeNMakeWindowsSystemConfig.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Templates/CMakeNMakeWindowsSystemConfig.cmake b/Templates/CMakeNMakeWindowsSystemConfig.cmake
index 868a0a4..55ba1ea 100644
--- a/Templates/CMakeNMakeWindowsSystemConfig.cmake
+++ b/Templates/CMakeNMakeWindowsSystemConfig.cmake
@@ -139,9 +139,13 @@ SET (CMAKE_MAKE_PROGRAM "nmake" CACHE STRING
SET (CMAKE_USE_WIN32_THREADS 1 CACHE BOOL
"Use the win32 thread library.")
+# this should not be advanced, but was so we have to
+# clear it in all the cache files
+MARK_AS_ADVANCED( CLEAR CMAKE_BUILD_TYPE)
# The following variables are advanced
+
MARK_AS_ADVANCED(
WORDS_BIGENDIAN
HAVE_LIMITS_H
@@ -152,7 +156,6 @@ CMAKE_OBJECT_FILE_SUFFIX
CMAKE_SHLIB_SUFFIX
CMAKE_STATICLIB_SUFFIX
CMAKE_ANSI_CFLAGS
-CMAKE_BUILD_TYPE
CMAKE_CXX_COMPILER
CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS_DEBUG