diff options
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/Windows-cl.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake index 7a892e4..7f46c60 100644 --- a/Modules/Platform/Windows-cl.cmake +++ b/Modules/Platform/Windows-cl.cmake @@ -62,6 +62,7 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio 6") SET (CMAKE_NO_BUILD_TYPE 1) ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 6") IF(CMAKE_GENERATOR MATCHES "Visual Studio 7") + SET (CMAKE_NO_BUILD_TYPE 1) SET (CMAKE_CONFIGURATION_TYPES "Debug;Release;MinSizeRel;RelWithDebInfo" CACHE STRING "Semicolon separated list of supported configuration types, only supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything else will be ignored.") SET (CMAKE_CXX_WARNING_LEVEL "3" CACHE STRING @@ -69,7 +70,6 @@ IF(CMAKE_GENERATOR MATCHES "Visual Studio 7") SET (CMAKE_CXX_STACK_SIZE "10000000" CACHE STRING "Size of stack for programs.") MARK_AS_ADVANCED(CMAKE_CONFIGURATION_TYPES CMAKE_CXX_STACK_SIZE CMAKE_CXX_WARNING_LEVEL) - SET (CMAKE_NOT_USING_CONFIG_FLAGS 1) ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7") # does the compiler support pdbtype |