ソースを参照

Fixes issue 11279: CMakeDetermineVSServicePack support for VS10

Thanks to Aaron C. Meadows for the patch.
Philip Lowman 15 年 前
コミット
aca758bf29
1 ファイル変更4 行追加2 行削除
  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()