diff options
| author | David Roman <davidroman96@gmail.com> | 2022-11-21 11:30:55 +0100 |
|---|---|---|
| committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-11-21 15:18:15 +0100 |
| commit | 9e74b3947d088a9d0fedc61bc1aa2f4d5763a5a1 (patch) | |
| tree | 520efad1ba96375b9cd12f8eaef808ab09a015cb /net-libs/cppzmq/files | |
| parent | d4bae5c3dec02da2e6b39600bc80c4ee938b6df8 (diff) | |
| download | gentoo-9e74b3947d088a9d0fedc61bc1aa2f4d5763a5a1.tar.gz gentoo-9e74b3947d088a9d0fedc61bc1aa2f4d5763a5a1.tar.bz2 gentoo-9e74b3947d088a9d0fedc61bc1aa2f4d5763a5a1.zip | |
net-libs/cppzmq: add 4.9.0
Signed-off-by: David Roman <davidroman96@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28363
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'net-libs/cppzmq/files')
| -rw-r--r-- | net-libs/cppzmq/files/cppzmq-4.9.0-disable-static.patch | 21 |
1 files changed, 21 insertions, 0 deletions
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) |
