diff options
| author | Mikhail Paulyshka <me@mixaill.tk> | 2017-03-12 15:22:05 +0300 |
|---|---|---|
| committer | Mikhail Paulyshka <me@mixaill.tk> | 2017-03-12 21:23:00 +0300 |
| commit | 3379a3e8e2e27bcba243a14b31b3c3b5943b55d0 (patch) | |
| tree | a12ea6f9e7e0860c85fb8473cdf9b3fcf64575b4 | |
| parent | cff0971773e902770114c9f262a64898059bfa11 (diff) | |
| download | vcpkg-3379a3e8e2e27bcba243a14b31b3c3b5943b55d0.tar.gz vcpkg-3379a3e8e2e27bcba243a14b31b3c3b5943b55d0.zip | |
[mpir] handle Windows SDK version properly (+1 squashed commits)
Squashed commits:
[a820112] [mpir] retarget MSVS2017 to Windows 10 SDK
| -rw-r--r-- | ports/mpir/CONTROL | 2 | ||||
| -rw-r--r-- | ports/mpir/portfile.cmake | 3 |
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()
|
