diff options
author | Isuru Fernando <isuruf@gmail.com> | 2019-03-21 17:52:57 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2019-03-21 17:52:57 (GMT) |
commit | aedc273fd90e31c7a20904568de3115f8957395b (patch) | |
tree | 692bda0304ecc3abf860e75f32c6becb7b2252cf /PCbuild/python.props | |
parent | 8bba81fd55873148c65b7d0e6a6effbd63048c76 (diff) | |
download | cpython-aedc273fd90e31c7a20904568de3115f8957395b.zip cpython-aedc273fd90e31c7a20904568de3115f8957395b.tar.gz cpython-aedc273fd90e31c7a20904568de3115f8957395b.tar.bz2 |
Fix registry key for Windows SDK detection (GH-12445)
Diffstat (limited to 'PCbuild/python.props')
-rw-r--r-- | PCbuild/python.props | 2 |
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> |