summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-15 12:28:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-02-15 12:29:05 (GMT)
commit3bc2fb55b46cb7daebe92bad3a5e6e9426af28b5 (patch)
treed5a9759319a3fc7643647d5615fbd50840261ba9 /Source
parent3411c815752470432d56c7bf265d9f99d174d082 (diff)
parent5c26e3c5e39096d8d9d990a586f6368a33252055 (diff)
downloadCMake-3bc2fb55b46cb7daebe92bad3a5e6e9426af28b5.zip
CMake-3bc2fb55b46cb7daebe92bad3a5e6e9426af28b5.tar.gz
CMake-3bc2fb55b46cb7daebe92bad3a5e6e9426af28b5.tar.bz2
Merge topic 'vs2017-sdk81'
5c26e3c5e3 VS: Fix validation of Windows 8.1 SDK Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Dedmen Miller <dedmenmiller@googlemail.com> Merge-request: !2962
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalVisualStudioVersionedGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioVersionedGenerator.cxx b/Source/cmGlobalVisualStudioVersionedGenerator.cxx
index 12d9304..913fc4a 100644
--- a/Source/cmGlobalVisualStudioVersionedGenerator.cxx
+++ b/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;
}