summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineVSServicePack.cmake
diff options
context:
space:
mode:
authorPhilip Lowman <philip@yhbt.com>2010-10-01 01:24:28 (GMT)
committerPhilip Lowman <philip@yhbt.com>2010-10-01 01:24:28 (GMT)
commitaca758bf29b2a3516150dc24a2c941b13472fc59 (patch)
tree798dcb9203620d5083b27bb96118331acdd523bd /Modules/CMakeDetermineVSServicePack.cmake
parent4e137de7b1e49db168228607864e80a6960ec52f (diff)
downloadCMake-aca758bf29b2a3516150dc24a2c941b13472fc59.zip
CMake-aca758bf29b2a3516150dc24a2c941b13472fc59.tar.gz
CMake-aca758bf29b2a3516150dc24a2c941b13472fc59.tar.bz2
Fixes issue 11279: CMakeDetermineVSServicePack support for VS10
Thanks to Aaron C. Meadows for the patch.
Diffstat (limited to 'Modules/CMakeDetermineVSServicePack.cmake')
-rw-r--r--Modules/CMakeDetermineVSServicePack.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineVSServicePack.cmake b/Modules/CMakeDetermineVSServicePack.cmake
index 8e4eb34..a877e6e 100644
--- a/Modules/CMakeDetermineVSServicePack.cmake
+++ b/Modules/CMakeDetermineVSServicePack.cmake
@@ -23,8 +23,8 @@
# ===========================
#=============================================================================
-# Copyright 2009 Kitware, Inc.
-# Copyright 2009 Philip Lowman <philip@yhbt.com>
+# Copyright 2009-2010 Kitware, Inc.
+# Copyright 2009-2010 Philip Lowman <philip@yhbt.com>
#
# 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()