summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-18 20:19:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-18 20:19:19 (GMT)
commite5a4da5b3c930bf19710db638f3d1b86ccbfb3aa (patch)
tree5e9e0a2f8527f5e875a9eee1d43e4515586f3b53 /Modules/Platform
parent77ef811c8ee8a209b03c546530adf2110f9fce4a (diff)
downloadCMake-e5a4da5b3c930bf19710db638f3d1b86ccbfb3aa.zip
CMake-e5a4da5b3c930bf19710db638f3d1b86ccbfb3aa.tar.gz
CMake-e5a4da5b3c930bf19710db638f3d1b86ccbfb3aa.tar.bz2
ENH: make sure MSVC90 is set
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-cl.cmake4
1 files changed, 4 insertions, 0 deletions
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)