diff --git a/slsDetectorSoftware/CMakeLists.txt b/slsDetectorSoftware/CMakeLists.txt index 185a57031..88559d702 100644 --- a/slsDetectorSoftware/CMakeLists.txt +++ b/slsDetectorSoftware/CMakeLists.txt @@ -63,6 +63,8 @@ set_target_properties(slsDetectorShared PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin ) + + add_subdirectory(slsDetectorClient) if(DOXYGEN_FOUND) @@ -74,4 +76,7 @@ if(DOXYGEN_FOUND) ) endif() -install(TARGETS slsDetectorShared slsDetectorStatic DESTINATION lib) +install(TARGETS slsDetectorShared slsDetectorStatic + LIBRARY DESTINATION lib + PUBLIC_HEADER DESTINATION include + ARCHIVE DESTINATION lib) diff --git a/slsReceiverSoftware/CMakeLists.txt b/slsReceiverSoftware/CMakeLists.txt index 7320ddcea..eca9d8602 100644 --- a/slsReceiverSoftware/CMakeLists.txt +++ b/slsReceiverSoftware/CMakeLists.txt @@ -64,6 +64,7 @@ add_library(slsReceiverShared SHARED set_target_properties(slsReceiverShared PROPERTIES LIBRARY_OUTPUT_NAME SlsReceiver LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + PUBLIC_HEADER "include/sls_receiver_defs.h" ) add_executable(slsReceiver @@ -88,4 +89,5 @@ endif () install(TARGETS slsReceiverShared slsReceiverStatic slsReceiver RUNTIME DESTINATION bin LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib) \ No newline at end of file + ARCHIVE DESTINATION lib + PUBLIC_HEADER DESTINATION include) \ No newline at end of file