mirror of https://github.com/microsoft/vcpkg.git
[mpir] handle Windows SDK version properly (+1 squashed commits)
Squashed commits: [a820112] [mpir] retarget MSVS2017 to Windows 10 SDK
This commit is contained in:
parent
cff0971773
commit
3379a3e8e2
|
|
@ -1,3 +1,3 @@
|
|||
Source: mpir
|
||||
Version: 3.0.0-1
|
||||
Version: 3.0.0-2
|
||||
Description: Multiple Precision Integers and Rationals.
|
||||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue