Fixed MSVC version detection code in CMake files

This commit is contained in:
Laurent Gomila 2013-10-15 07:55:01 +02:00
parent 08b49cc15c
commit 3670eec5dd

View File

@ -54,11 +54,11 @@ elseif(MSVC)
set(SFML_COMPILER_MSVC 1)
if(MSVC_VERSION EQUAL 1400)
set(SFML_MSVC_VERSION 2005)
elseif(SFML_MSVC_VERSION EQUAL 1500)
elseif(MSVC_VERSION EQUAL 1500)
set(SFML_MSVC_VERSION 2008)
elseif(SFML_MSVC_VERSION EQUAL 1600)
elseif(MSVC_VERSION EQUAL 1600)
set(SFML_MSVC_VERSION 2010)
elseif(SFML_MSVC_VERSION EQUAL 1700)
elseif(MSVC_VERSION EQUAL 1700)
set(SFML_MSVC_VERSION 2011)
endif()
else()