summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineVSServicePack.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-21 12:51:13 (GMT)
committerBrad King <brad.king@kitware.com>2013-06-21 12:51:13 (GMT)
commit2aa62e0b4bd311e7538082fea70785871572e420 (patch)
tree967b46357517ead824459e413dee6ac68bac13e3 /Modules/CMakeDetermineVSServicePack.cmake
parent1746a35df115e66a266481020591de231bfdfdf2 (diff)
downloadCMake-2aa62e0b4bd311e7538082fea70785871572e420.zip
CMake-2aa62e0b4bd311e7538082fea70785871572e420.tar.gz
CMake-2aa62e0b4bd311e7538082fea70785871572e420.tar.bz2
CMakeDetermineVSServicePack: Add VS 11 update 1 and 2 (#14239)
Diffstat (limited to 'Modules/CMakeDetermineVSServicePack.cmake')
-rw-r--r--Modules/CMakeDetermineVSServicePack.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineVSServicePack.cmake b/Modules/CMakeDetermineVSServicePack.cmake
index 26c8ac0..17b4bbf 100644
--- a/Modules/CMakeDetermineVSServicePack.cmake
+++ b/Modules/CMakeDetermineVSServicePack.cmake
@@ -16,7 +16,7 @@
# vc80, vc80sp1
# vc90, vc90sp1
# vc100, vc100sp1
-# vc110
+# vc110, vc110sp1, vc110sp2
#=============================================================================
# Copyright 2009-2013 Kitware, Inc.
@@ -50,6 +50,10 @@ function(_DetermineVSServicePackFromCompiler _OUT_VAR _cl_version)
set(_version "vc100sp1")
elseif(${_cl_version} VERSION_EQUAL "17.00.50727.1")
set(_version "vc110")
+ elseif(${_cl_version} VERSION_EQUAL "17.00.51106.1")
+ set(_version "vc110sp1")
+ elseif(${_cl_version} VERSION_EQUAL "17.00.60315.1")
+ set(_version "vc110sp2")
else()
set(_version "")
endif()