From fd03cf5b0fb0472312162a1276749bd1807912c5 Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Tue, 23 Jan 2018 17:46:35 +0100 Subject: [PATCH] and more targets --- slsDetectorSoftware/CMakeLists.txt | 2 +- slsReceiverSoftware/CMakeLists.txt | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/slsDetectorSoftware/CMakeLists.txt b/slsDetectorSoftware/CMakeLists.txt index 429e72692..e9b509bd4 100644 --- a/slsDetectorSoftware/CMakeLists.txt +++ b/slsDetectorSoftware/CMakeLists.txt @@ -74,4 +74,4 @@ if(DOXYGEN_FOUND) ) endif() -install(TARGETS slsDetectorShared DESTINATION lib) +install(TARGETS slsDetectorShared slsDetectorStatic zmq DESTINATION lib) diff --git a/slsReceiverSoftware/CMakeLists.txt b/slsReceiverSoftware/CMakeLists.txt index 9a5bb6019..7320ddcea 100644 --- a/slsReceiverSoftware/CMakeLists.txt +++ b/slsReceiverSoftware/CMakeLists.txt @@ -82,3 +82,10 @@ target_link_libraries(slsReceiver if (HDF5_FOUND) target_link_libraries(slsReceiver ${HDF5_LIBRARIES}) endif () + + + +install(TARGETS slsReceiverShared slsReceiverStatic slsReceiver + RUNTIME DESTINATION bin + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) \ No newline at end of file