mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed MSVC version detection code in CMake files
This commit is contained in:
parent
08b49cc15c
commit
3670eec5dd
@ -54,11 +54,11 @@ elseif(MSVC)
|
|||||||
set(SFML_COMPILER_MSVC 1)
|
set(SFML_COMPILER_MSVC 1)
|
||||||
if(MSVC_VERSION EQUAL 1400)
|
if(MSVC_VERSION EQUAL 1400)
|
||||||
set(SFML_MSVC_VERSION 2005)
|
set(SFML_MSVC_VERSION 2005)
|
||||||
elseif(SFML_MSVC_VERSION EQUAL 1500)
|
elseif(MSVC_VERSION EQUAL 1500)
|
||||||
set(SFML_MSVC_VERSION 2008)
|
set(SFML_MSVC_VERSION 2008)
|
||||||
elseif(SFML_MSVC_VERSION EQUAL 1600)
|
elseif(MSVC_VERSION EQUAL 1600)
|
||||||
set(SFML_MSVC_VERSION 2010)
|
set(SFML_MSVC_VERSION 2010)
|
||||||
elseif(SFML_MSVC_VERSION EQUAL 1700)
|
elseif(MSVC_VERSION EQUAL 1700)
|
||||||
set(SFML_MSVC_VERSION 2011)
|
set(SFML_MSVC_VERSION 2011)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user