Merge topic 'DetermineVsServicePack2012'

a722780 CMakeDetermineVSServicePack: Visual Studio 2012 added
This commit is contained in:
David Cole 2012-09-25 15:17:57 -04:00 committed by CMake Topic Stage
commit 1dd41e6c3d
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@
# vc90sp1 # vc90sp1
# vc100 # vc100
# vc100sp1 # vc100sp1
# vc110
# #
# Usage: # Usage:
# =========================== # ===========================
@ -54,6 +55,8 @@ function(_DetermineVSServicePackFromCompiler _OUT_VAR _cl_version)
set(_version "vc100") set(_version "vc100")
elseif(${_cl_version} VERSION_EQUAL "16.00.40219.01") elseif(${_cl_version} VERSION_EQUAL "16.00.40219.01")
set(_version "vc100sp1") set(_version "vc100sp1")
elseif(${_cl_version} VERSION_EQUAL "17.00.50727.1")
set(_version "vc110")
else() else()
set(_version "") set(_version "")
endif() endif()