summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorIsuru Fernando <isuruf@gmail.com>2019-03-21 17:52:57 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2019-03-21 17:52:57 (GMT)
commitaedc273fd90e31c7a20904568de3115f8957395b (patch)
tree692bda0304ecc3abf860e75f32c6becb7b2252cf /PCbuild
parent8bba81fd55873148c65b7d0e6a6effbd63048c76 (diff)
downloadcpython-aedc273fd90e31c7a20904568de3115f8957395b.zip
cpython-aedc273fd90e31c7a20904568de3115f8957395b.tar.gz
cpython-aedc273fd90e31c7a20904568de3115f8957395b.tar.bz2
Fix registry key for Windows SDK detection (GH-12445)
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 a9dc9db..3a0ddce 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -85,7 +85,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>