From e5a4da5b3c930bf19710db638f3d1b86ccbfb3aa Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 18 Jan 2008 15:19:19 -0500 Subject: ENH: make sure MSVC90 is set --- Modules/Platform/Windows-cl.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake index 74ce386..1751fb1 100644 --- a/Modules/Platform/Windows-cl.cmake +++ b/Modules/Platform/Windows-cl.cmake @@ -95,6 +95,10 @@ IF(CMAKE_GENERATOR MATCHES "Makefiles") SET(MSVC80 1) SET(CMAKE_COMPILER_2005 1) ENDIF("${compilerVersion}" GREATER 1400) + IF("${compilerVersion}" EQUAL 1500) + SET(MSVC90 1) + SET(MSVC80 0) + ENDIF("${compilerVersion}" EQUAL 1500) IF("${compilerVersion}" GREATER 1500) SET(MSVC90 1) SET(MSVC80 0) -- cgit v0.12