mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 20:46:49 +08:00
[zeromq]Fix missing system version for mingw builds (#13408)
* Fix missing system version System version is required to be 6.0 or higher for ZeroMQ to work correctly. * Update ports/zeromq/CONTROL Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
parent
dc56928e6a
commit
ad81400f9c
@ -1,5 +1,6 @@
|
||||
Source: zeromq
|
||||
Version: 2019-09-20
|
||||
Port-Version: 1
|
||||
Homepage: https://github.com/zeromq/libzmq
|
||||
Description: The ZeroMQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products
|
||||
|
||||
|
@ -19,6 +19,11 @@ vcpkg_check_features(
|
||||
websockets-sha1 DISABLE_WS
|
||||
)
|
||||
|
||||
set(PLATFORM_OPTIONS)
|
||||
if(VCPKG_TARGET_IS_MINGW)
|
||||
set(PLATFORM_OPTIONS "-DCMAKE_SYSTEM_VERSION=6.0")
|
||||
endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
@ -31,6 +36,7 @@ vcpkg_configure_cmake(
|
||||
-DWITH_DOCS=OFF
|
||||
-DWITH_NSS=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
${PLATFORM_OPTIONS}
|
||||
OPTIONS_DEBUG
|
||||
"-DCMAKE_PDB_OUTPUT_DIRECTORY=${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user