summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-03-21 14:54:59 -0700
committerGitHub <noreply@github.com>2019-03-21 14:54:59 -0700
commitcba5ddf088683859dd022d04cb3726d56f5f0297 (patch)
tree6c488929c577320444a05e943bb31b6962e672cf /PCbuild
parentb0967fe4ed2e0e15f14ea574f82970a3fd4a5556 (diff)
downloadcpython-git-cba5ddf088683859dd022d04cb3726d56f5f0297.tar.gz
Fix registry key for Windows SDK detection (GH-12445)
(cherry picked from commit aedc273fd90e31c7a20904568de3115f8957395b) Co-authored-by: Isuru Fernando <isuruf@gmail.com>
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/python.props2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/python.props b/PCbuild/python.props
index f83d4df0d5..683fbb6e6f 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -76,7 +76,7 @@
matter which WinSDK version we use.
-->
<_RegistryVersion>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</_RegistryVersion>
- <_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</_RegistryVersion>
+ <_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)</_RegistryVersion>
<!-- Sometimes the version in the registry has to .0 suffix, and sometimes it doesn't. Check and add it -->
<_RegistryVersion Condition="$(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))">$(_RegistryVersion).0</_RegistryVersion>