mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 11:20:04 +02:00
33 lines
596 B
CMake
Executable File
33 lines
596 B
CMake
Executable File
set(SOURCES
|
|
mainReceiver.cpp
|
|
)
|
|
|
|
include_directories(
|
|
../../slsSupportLib/include
|
|
../../slsReceiverSoftware/include
|
|
../../build/bin
|
|
../../slsdetectorSoftware/slsDetector
|
|
)
|
|
|
|
add_executable(slsMultiReceiver
|
|
${SOURCES}
|
|
)
|
|
|
|
target_link_libraries(slsMultiReceiver
|
|
slsReceiverShared
|
|
pthread
|
|
${ZeroMQ_LIBRARIES}
|
|
rt
|
|
)
|
|
|
|
if (HDF5_FOUND)
|
|
target_link_libraries(slsMultiReceiver ${HDF5_LIBRARIES})
|
|
endif ()
|
|
|
|
|
|
set_target_properties(slsMultiReceiver PROPERTIES
|
|
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
|
)
|
|
|
|
install(TARGETS slsMultiReceiver DESTINATION bin)
|