aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/python3/portfile.cmake5
-rw-r--r--ports/python3/vcpkg.json2
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/p-/python3.json5
4 files changed, 12 insertions, 2 deletions
diff --git a/ports/python3/portfile.cmake b/ports/python3/portfile.cmake
index 3a90a7913..d19f5552c 100644
--- a/ports/python3/portfile.cmake
+++ b/ports/python3/portfile.cmake
@@ -88,6 +88,11 @@ if(VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_UWP)
"/p:ForceImportBeforeCppTargets=${SOURCE_PATH}/PCbuild/python_vcpkg.props"
)
endif()
+ string(REPLACE "\\" "" WindowsSDKVersion "$ENV{WindowsSDKVersion}")
+ list(APPEND OPTIONS
+ "/p:WindowsTargetPlatformVersion=${WindowsSDKVersion}"
+ "/p:DefaultWindowsSDKVersion=${WindowsSDKVersion}"
+ )
if(VCPKG_TARGET_IS_UWP)
list(APPEND OPTIONS "/p:IncludeUwp=true")
else()
diff --git a/ports/python3/vcpkg.json b/ports/python3/vcpkg.json
index f997398f8..5f7675cd0 100644
--- a/ports/python3/vcpkg.json
+++ b/ports/python3/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "python3",
"version-string": "3.9.2",
- "port-version": 1,
+ "port-version": 2,
"description": "The Python programming language",
"homepage": "https://github.com/python/cpython",
"supports": "!(arm | uwp)",
diff --git a/versions/baseline.json b/versions/baseline.json
index c3ac79495..fd37a0de3 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -4966,7 +4966,7 @@
},
"python3": {
"baseline": "3.9.2",
- "port-version": 1
+ "port-version": 2
},
"qca": {
"baseline": "2.3.1",
diff --git a/versions/p-/python3.json b/versions/p-/python3.json
index 5f6f0d414..a8c9121fc 100644
--- a/versions/p-/python3.json
+++ b/versions/p-/python3.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "ebb4ed9ed737c672ca5462a4019a704b6461e91d",
+ "version-string": "3.9.2",
+ "port-version": 2
+ },
+ {
"git-tree": "025737aca98a8b23d4ea8de388dacfba6b844eca",
"version-string": "3.9.2",
"port-version": 1