Skip to content

Commit cba2359

Browse files
committed
Set WindowsTargetPlatformVersion instead of DefaultWindowsSDKVersion
1 parent 64cdc40 commit cba2359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-windows/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ def run_msbuild(
696696
# We pin the Windows 10 SDK version to make builds more deterministic.
697697
# This can also work around known incompatibilities with the Windows 11
698698
# SDK as of at least CPython 3.9.7.
699-
f"/property:DefaultWindowsSDKVersion={windows_sdk_version}",
699+
f"/property:WindowsTargetPlatformVersion={windows_sdk_version}",
700700
]
701701

702702
if freethreaded:

0 commit comments

Comments
 (0)