From 7b0cdf5ab34949158065c125139e5d3ead1ff33f Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Thu, 17 Dec 2020 15:34:47 +0100 Subject: [PATCH] cpack: artifacts (static libs) --- src/libhashkit/CMakeLists.txt | 1 + src/libmemcached/CMakeLists.txt | 1 + src/libmemcachedprotocol/CMakeLists.txt | 1 + src/libmemcachedutil/CMakeLists.txt | 1 + 4 files changed, 4 insertions(+) diff --git a/src/libhashkit/CMakeLists.txt b/src/libhashkit/CMakeLists.txt index 64c60389..ae57244f 100644 --- a/src/libhashkit/CMakeLists.txt +++ b/src/libhashkit/CMakeLists.txt @@ -41,6 +41,7 @@ configure_file(hashkitcon.h.in hashkitcon.h @ONLY) install(TARGETS libhashkit EXPORT libhashkit-targets RUNTIME COMPONENT bin DESTINATION ${CMAKE_INSTALL_BINDIR} + ARCHIVE COMPONENT lib DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY COMPONENT lib DESTINATION ${CMAKE_INSTALL_LIBDIR} ${TARGET_NAMELINK_COMPONENT} ) diff --git a/src/libmemcached/CMakeLists.txt b/src/libmemcached/CMakeLists.txt index 8b563308..0672fd40 100644 --- a/src/libmemcached/CMakeLists.txt +++ b/src/libmemcached/CMakeLists.txt @@ -121,6 +121,7 @@ enable_dtrace_for(libmemcached libmemcached_probes.d dtrace_probes.h) install(TARGETS libmemcached EXPORT libmemcached-targets RUNTIME COMPONENT bin DESTINATION ${CMAKE_INSTALL_BINDIR} + ARCHIVE COMPONENT lib DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY COMPONENT lib DESTINATION ${CMAKE_INSTALL_LIBDIR} ${TARGET_NAMELINK_COMPONENT} ) diff --git a/src/libmemcachedprotocol/CMakeLists.txt b/src/libmemcachedprotocol/CMakeLists.txt index e0a31512..bdb7ba3e 100644 --- a/src/libmemcachedprotocol/CMakeLists.txt +++ b/src/libmemcachedprotocol/CMakeLists.txt @@ -37,6 +37,7 @@ target_include_directories(libmemcachedprotocol PUBLIC install(TARGETS libmemcachedprotocol EXPORT libmemcachedprotocol-targets RUNTIME COMPONENT bin DESTINATION ${CMAKE_INSTALL_BINDIR} + ARCHIVE COMPONENT lib DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY COMPONENT lib DESTINATION ${CMAKE_INSTALL_LIBDIR} ${TARGET_NAMELINK_COMPONENT} ) diff --git a/src/libmemcachedutil/CMakeLists.txt b/src/libmemcachedutil/CMakeLists.txt index d135f35b..44e0c8a6 100644 --- a/src/libmemcachedutil/CMakeLists.txt +++ b/src/libmemcachedutil/CMakeLists.txt @@ -42,6 +42,7 @@ target_include_directories(libmemcachedutil PUBLIC install(TARGETS libmemcachedutil EXPORT libmemcachedutil-targets RUNTIME COMPONENT bin DESTINATION ${CMAKE_INSTALL_BINDIR} + ARCHIVE COMPONENT lib DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY COMPONENT lib DESTINATION ${CMAKE_INSTALL_LIBDIR} ${TARGET_NAMELINK_COMPONENT} ) -- 2.30.2