From: Michael Wallner Date: Thu, 17 Dec 2020 14:34:47 +0000 (+0100) Subject: cpack: artifacts (static libs) X-Git-Tag: 1.1.0-beta1~39 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=7b0cdf5ab34949158065c125139e5d3ead1ff33f;p=awesomized%2Flibmemcached cpack: artifacts (static libs) --- 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} )