Преглед изворни кода

Merge topic 'vs2017-sdk81'

5c26e3c5e3 VS: Fix validation of Windows 8.1 SDK

Acked-by: Kitware Robot <[email protected]>
Acked-by: Dedmen Miller <[email protected]>
Merge-request: !2962
Brad King пре 6 година
родитељ
комит
3bc2fb55b4
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      Source/cmGlobalVisualStudioVersionedGenerator.cxx

+ 2 - 1
Source/cmGlobalVisualStudioVersionedGenerator.cxx

@@ -453,7 +453,8 @@ bool cmGlobalVisualStudioVersionedGenerator::IsWin81SDKInstalled() const
         "HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\"
         "Windows Kits\\Installed Roots;KitsRoot81",
         win81Root, cmSystemTools::KeyWOW64_32)) {
-    return cmSystemTools::FileExists(win81Root + "/um/windows.h", true);
+    return cmSystemTools::FileExists(win81Root + "/include/um/windows.h",
+                                     true);
   }
   return false;
 }