ENH: make sure MSVC90 is set

This commit is contained in:
Bill Hoffman 2008-01-18 15:19:19 -05:00
parent 77ef811c8e
commit e5a4da5b3c
1 changed files with 4 additions and 0 deletions

View File

@ -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)