[zeromq] Fix mingw build issues (24711) (#24782)

* Fix zeromq mingw build issues

* upd. zeromq port version (5 to 6)

* upd. zeromq version files

* Made dynamically set and declared flags based on VCPKG_LIBRARY_LINKAGE more explicit

* Update version database

* I mean

* version

* Update ports/zeromq/portfile.cmake

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* upd. zeromq version

* revert WITH_PERF_TOOLS changes

* upd. zeromq version

* reset zeromq BUILD_TESTS option to ZMQ_BUILD_TESTS CACHE var

* upd. zeromq version

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
k 2022-06-24 00:07:17 +02:00 committed by GitHub
parent 59aa3a9eec
commit 53456892f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 4 deletions

View File

@ -20,9 +20,9 @@ vcpkg_check_features(
websockets-sha1 ENABLE_WS
)
set(PLATFORM_OPTIONS)
set(PLATFORM_OPTIONS "")
if(VCPKG_TARGET_IS_MINGW)
set(PLATFORM_OPTIONS "-DCMAKE_SYSTEM_VERSION=6.0")
set(PLATFORM_OPTIONS -DCMAKE_SYSTEM_VERSION=6.0 -DZMQ_HAVE_IPC=0)
endif()
vcpkg_cmake_configure(
@ -39,6 +39,8 @@ vcpkg_cmake_configure(
${PLATFORM_OPTIONS}
OPTIONS_DEBUG
"-DCMAKE_PDB_OUTPUT_DIRECTORY=${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg"
MAYBE_UNUSED_VARIABLES
USE_PERF_TOOLS
)
vcpkg_cmake_install()

View File

@ -1,7 +1,7 @@
{
"name": "zeromq",
"version": "4.3.4",
"port-version": 5,
"port-version": 6,
"description": "The ZeroMQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products",
"homepage": "https://github.com/zeromq/libzmq",
"license": "LGPL-3.0-only",

View File

@ -7786,7 +7786,7 @@
},
"zeromq": {
"baseline": "4.3.4",
"port-version": 5
"port-version": 6
},
"zfp": {
"baseline": "0.5.5",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7bdd3a27ea013a2d3b70032245631f114198cce9",
"version": "4.3.4",
"port-version": 6
},
{
"git-tree": "246f585e58f536087c5f70f918459d5500a4dc43",
"version": "4.3.4",