Explorar o código

Fixes issue 11279: CMakeDetermineVSServicePack support for VS10

Thanks to Aaron C. Meadows for the patch.
Philip Lowman %!s(int64=15) %!d(string=hai) anos
pai
achega
aca758bf29
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      Modules/CMakeDetermineVSServicePack.cmake

+ 4 - 2
Modules/CMakeDetermineVSServicePack.cmake

@@ -23,8 +23,8 @@
 # ===========================
 
 #=============================================================================
-# Copyright 2009 Kitware, Inc.
-# Copyright 2009 Philip Lowman <[email protected]>
+# Copyright 2009-2010 Kitware, Inc.
+# Copyright 2009-2010 Philip Lowman <[email protected]>
 #
 # 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()