From 2aa62e0b4bd311e7538082fea70785871572e420 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 21 Jun 2013 08:51:13 -0400 Subject: CMakeDetermineVSServicePack: Add VS 11 update 1 and 2 (#14239) --- Modules/CMakeDetermineVSServicePack.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() -- cgit v0.12