mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 22:13:23 +01:00
Better way of finding libzmq (#235)
* new strategy for finding zmq based on cppzmq
This commit is contained in:
@@ -18,22 +18,24 @@ set_target_properties(testserver PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
|
||||
add_executable(tests ${SLS_TEST_SOURCES})
|
||||
target_link_libraries(tests
|
||||
slsProjectOptions
|
||||
slsProjectWarnings
|
||||
slsSupportShared
|
||||
pthread
|
||||
rt
|
||||
target_link_libraries(tests
|
||||
PUBLIC
|
||||
slsProjectOptions
|
||||
slsSupportShared
|
||||
pthread
|
||||
rt
|
||||
PRIVATE
|
||||
slsProjectWarnings
|
||||
)
|
||||
|
||||
if (SLS_USE_TEXTCLIENT)
|
||||
target_link_libraries(tests
|
||||
target_link_libraries(tests PUBLIC
|
||||
slsDetectorShared
|
||||
)
|
||||
endif (SLS_USE_TEXTCLIENT)
|
||||
|
||||
if (SLS_USE_RECEIVER)
|
||||
target_link_libraries(tests
|
||||
target_link_libraries(tests PUBLIC
|
||||
slsReceiverShared
|
||||
)
|
||||
endif (SLS_USE_RECEIVER)
|
||||
|
||||
Reference in New Issue
Block a user