Browse Source

VS: Fix VS 2017 Windows Store toolset selection

VS 2017 uses the `v141` toolset, not `v140`.
Iyyappa Murugandi 9 năm trước cách đây
mục cha
commit
d47bda00b2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Source/cmGlobalVisualStudio15Generator.cxx

+ 1 - 1
Source/cmGlobalVisualStudio15Generator.cxx

@@ -114,7 +114,7 @@ bool cmGlobalVisualStudio15Generator::SelectWindowsStoreToolset(
   if (cmHasLiteralPrefix(this->SystemVersion, "10.0")) {
     if (this->IsWindowsStoreToolsetInstalled() &&
         this->IsWindowsDesktopToolsetInstalled()) {
-      toolset = "v140"; // VS 15 uses v140 toolset
+      toolset = "v141"; // VS 15 uses v141 toolset
       return true;
     } else {
       return false;