Browse Source

build type should not be advanced

Bill Hoffman 24 years ago
parent
commit
e74ebd4e87
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Templates/CMakeNMakeWindowsSystemConfig.cmake

+ 4 - 1
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