aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/mpir/CONTROL2
-rw-r--r--ports/mpir/portfile.cmake3
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/mpir/CONTROL b/ports/mpir/CONTROL
index 2b67c7c98..fc15d9b41 100644
--- a/ports/mpir/CONTROL
+++ b/ports/mpir/CONTROL
@@ -1,3 +1,3 @@
Source: mpir
-Version: 3.0.0-1
+Version: 3.0.0-2
Description: Multiple Precision Integers and Rationals. \ No newline at end of file
diff --git a/ports/mpir/portfile.cmake b/ports/mpir/portfile.cmake
index 96bfa9454..41ae41b01 100644
--- a/ports/mpir/portfile.cmake
+++ b/ports/mpir/portfile.cmake
@@ -16,14 +16,17 @@ if(VCPKG_PLATFORM_TOOLSET MATCHES "v141*")
else()
set(MSVC_VERSION 14)
endif()
+vcpkg_get_windows_sdk(WINDOWS_SDK)
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
vcpkg_build_msbuild(
PROJECT_PATH ${SOURCE_PATH}/build.vc${MSVC_VERSION}/dll_mpir_gc/dll_mpir_gc.vcxproj
+ TARGET_PLATFORM_VERSION ${WINDOWS_SDK}
)
else()
vcpkg_build_msbuild(
PROJECT_PATH ${SOURCE_PATH}/build.vc${MSVC_VERSION}/lib_mpir_gc/lib_mpir_gc.vcxproj
+ TARGET_PLATFORM_VERSION ${WINDOWS_SDK}
)
endif()