diff --git a/slsDetectorSoftware/CMakeLists.txt b/slsDetectorSoftware/CMakeLists.txt index f7c020c14..64156f9ee 100644 --- a/slsDetectorSoftware/CMakeLists.txt +++ b/slsDetectorSoftware/CMakeLists.txt @@ -58,11 +58,19 @@ add_library(slsDetectorShared SHARED ${SOURCES} ${HEADERS} ) + +set(PUBLICHEADERS +commonFiles/sls_detector_defs.h +commonFiles/sls_detector_funcs.h +slsDetector/slsDetectorUtils.h +slsDetector/slsDetector.h +slsDetector/slsDetectorActions.h + +) set_target_properties(slsDetectorShared PROPERTIES LIBRARY_OUTPUT_NAME SlsDetector LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin - PUBLIC_HEADER "commonFiles/sls_detector_defs.h;commonFiles/sls_detector_funcs.h;slsDetector/slsDetectorUtils.h;slsDetector/slsDetector.h; - slsDetector/slsDetectorActions.h" + PUBLIC_HEADER "${PUBLICHEADERS}" )