[PATCH tenacity v2] cmake: Add install target for libnyquist
Export this patch
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
---
lib-src/libnyquist/CMakeLists.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib-src/libnyquist/CMakeLists.txt b/lib-src/libnyquist/CMakeLists.txt
index 45993c7d3..d4d16c393 100644
--- a/lib-src/libnyquist/CMakeLists.txt
+++ b/lib-src/libnyquist/CMakeLists.txt
@@ -290,3 +290,9 @@ target_compile_options(libnyquist
PRIVATE
$<$<PLATFORM_ID:Darwin>:-fno-common>
)
+
+ install(
+ TARGETS libnyquist
+ LIBRARY
+ DESTINATION "${_LIBDIR}"
+ )
--
2.32.0
Could someone on macOS and/or Windows please test this? We don't yet
have a solution for that on sourcehut (I'm working on a patch)
tenacity/patches: SUCCESS in 10m20s
[cmake: Add install target for libnyquist][0] v2 from [Haelwenn (lanodan) Monnier][1]
[0]: https://lists.sr.ht/~tenacity/tenacity-dev/patches/25276
[1]: mailto:contact@hacktivis.me
✓ #591603 SUCCESS tenacity/patches/freebsd.yml https://builds.sr.ht/~tenacity/job/591603
✓ #591601 SUCCESS tenacity/patches/alpine.yml https://builds.sr.ht/~tenacity/job/591601
✓ #591602 SUCCESS tenacity/patches/archlinux.yml https://builds.sr.ht/~tenacity/job/591602
Confirmed working on macOS Catalina, approved by Panos but the message
was again dropped.
Thanks!
To git@github.com:tenacityteam/tenacity
7230f6a39..4445aaabb master -> master