From aca758bf29b2a3516150dc24a2c941b13472fc59 Mon Sep 17 00:00:00 2001 From: Philip Lowman Date: Thu, 30 Sep 2010 21:24:28 -0400 Subject: [PATCH] Fixes issue 11279: CMakeDetermineVSServicePack support for VS10 Thanks to Aaron C. Meadows for the patch. --- Modules/CMakeDetermineVSServicePack.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Modules/CMakeDetermineVSServicePack.cmake b/Modules/CMakeDetermineVSServicePack.cmake index 8e4eb34ea..a877e6ef7 100644 --- a/Modules/CMakeDetermineVSServicePack.cmake +++ b/Modules/CMakeDetermineVSServicePack.cmake @@ -23,8 +23,8 @@ # =========================== #============================================================================= -# Copyright 2009 Kitware, Inc. -# Copyright 2009 Philip Lowman +# Copyright 2009-2010 Kitware, Inc. +# Copyright 2009-2010 Philip Lowman # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. @@ -47,6 +47,8 @@ function(_DetermineVSServicePackFromCompiler _OUT_VAR _cl_version) set(_version "vc90") elseif(${_cl_version} VERSION_EQUAL "15.00.30729.01") set(_version "vc90sp1") + elseif(${_cl_version} VERSION_EQUAL "16.00.30319.01") + set(_version "vc100") else() set(_version "") endif()