cpack: artifacts (static libs)
authorMichael Wallner <mike@php.net>
Thu, 17 Dec 2020 14:34:47 +0000 (15:34 +0100)
committerMichael Wallner <mike@php.net>
Thu, 17 Dec 2020 14:36:14 +0000 (15:36 +0100)
src/libhashkit/CMakeLists.txt
src/libmemcached/CMakeLists.txt
src/libmemcachedprotocol/CMakeLists.txt
src/libmemcachedutil/CMakeLists.txt

index 64c60389b2f691c2d8fea281f947b47fbb4492e8..ae57244f00e60ff3b8a65c98a644e74752ec93e3 100644 (file)
@@ -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}
         )
index 8b5633084f6f2876647a4f13ed010bba848da5b8..0672fd40aada0a828be9eaa4767927e2559270d6 100644 (file)
@@ -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}
         )
index e0a31512ce6e12c423857524d3452b0c8a7023df..bdb7ba3ed599ec283c57bd2dbac7553d025035d9 100644 (file)
@@ -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}
         )
index d135f35b7cf77bb10b1145dca73904f46274496e..44e0c8a6009d698f87a867e3166bc1ebebcc95c1 100644 (file)
@@ -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}
         )