ENH: test for vs8 correctly

This commit is contained in:
Bill Hoffman 2006-04-19 10:56:54 -04:00
parent 37bff40d5d
commit 96c140e281
1 changed files with 4 additions and 0 deletions

View File

@ -120,6 +120,10 @@ IF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
SET(MSVC80 1)
SET(CMAKE_COMPILER_2005 1)
ENDIF("${compilerVersion}" EQUAL 1400)
IF("${compilerVersion}" EQUAL 1400)
SET(MSVC80 1)
SET(CMAKE_COMPILER_2005 1)
ENDIF("${compilerVersion}" EQUAL 1400)
IF("${compilerVersion}" GREATER 1400)
SET(MSVC80 1)
SET(CMAKE_COMPILER_2005 1)