From 77b9f0d5906f0bd9ddf010abe155218c6629738a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 21 Nov 2022 19:04:59 +0000 Subject: gentoo auto-resync : 21:11:2022 - 19:04:59 --- .../cppzmq/files/cppzmq-4.9.0-disable-static.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 net-libs/cppzmq/files/cppzmq-4.9.0-disable-static.patch (limited to 'net-libs/cppzmq/files') diff --git a/net-libs/cppzmq/files/cppzmq-4.9.0-disable-static.patch b/net-libs/cppzmq/files/cppzmq-4.9.0-disable-static.patch new file mode 100644 index 000000000000..d34893a60f05 --- /dev/null +++ b/net-libs/cppzmq/files/cppzmq-4.9.0-disable-static.patch @@ -0,0 +1,21 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 05001ad..c640fd7 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -21,7 +21,7 @@ if (NOT TARGET libzmq AND NOT TARGET libzmq-static) + message(FATAL_ERROR "ZeroMQ was not found, neither as a CMake package nor via pkg-config") + endif() + +- if (ZeroMQ_FOUND AND NOT (TARGET libzmq OR TARGET libzmq-static)) ++ if (ZeroMQ_FOUND AND NOT TARGET libzmq) + message(FATAL_ERROR "ZeroMQ version not supported!") + endif() + endif() +@@ -52,7 +52,6 @@ foreach (target cppzmq cppzmq-static) + endforeach() + + target_link_libraries(cppzmq INTERFACE libzmq) +-target_link_libraries(cppzmq-static INTERFACE libzmq-static) + + include(GNUInstallDirs) + include(CMakePackageConfigHelpers) -- cgit v1.2.3