From: Isuru Fernando Date: Thu, 21 Mar 2019 17:52:57 +0000 (-0500) Subject: Fix registry key for Windows SDK detection (GH-12445) X-Git-Tag: v3.8.0a3~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aedc273fd90e31c7a20904568de3115f8957395b;p=thirdparty%2FPython%2Fcpython.git Fix registry key for Windows SDK detection (GH-12445) --- diff --git a/PCbuild/python.props b/PCbuild/python.props index a9dc9db4863f..3a0ddceda664 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 Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion) + <_RegistryVersion Condition="$(_RegistryVersion) == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion) <_RegistryVersion Condition="$(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))">$(_RegistryVersion).0