fixed linking zmq

This commit is contained in:
Erik Frojdh 2019-02-13 15:35:40 +01:00
parent 82584dd1a8
commit d46d96ecca
6 changed files with 8 additions and 10 deletions

View File

@ -47,8 +47,6 @@ find_package(Doxygen)
find_package(ZeroMQ 4 REQUIRED)
message("zeromq found: ${ZeroMQ_VERSION_MAJOR} ${ZeroMQ_VERSION_MINOR}")
if (USE_TESTS)
enable_testing()
endif(USE_TESTS)

View File

@ -16,7 +16,7 @@ add_executable(slsMultiReceiver
target_link_libraries(slsMultiReceiver
slsReceiverShared
pthread
zmq
${ZeroMQ_LIBRARIES}
rt
)

View File

@ -112,7 +112,7 @@ target_link_libraries(slsDetectorGui
${QT_QTGUI_LIBRARIES}
${QWT_LIBRARIES}
pthread
zmq
${ZeroMQ_LIBRARIES}
rt
png
z

View File

@ -27,7 +27,7 @@ target_include_directories(slsDetectorShared PUBLIC
target_link_libraries(slsDetectorShared
slsSupportLib
zmq
${ZeroMQ_LIBRARIES}
)
set(PUBLICHEADERS

View File

@ -15,7 +15,7 @@ add_executable(sls_detector_get
target_link_libraries(sls_detector_get
slsDetectorShared
pthread
zmq
${ZeroMQ_LIBRARIES}
rt
)
set_target_properties(sls_detector_get PROPERTIES
@ -29,7 +29,7 @@ add_executable(sls_detector_put
target_link_libraries(sls_detector_put
slsDetectorShared
pthread
zmq
${ZeroMQ_LIBRARIES}
rt
)
set_target_properties(sls_detector_put PROPERTIES
@ -43,7 +43,7 @@ add_executable(sls_detector_acquire
target_link_libraries(sls_detector_acquire
slsDetectorShared
pthread
zmq
${ZeroMQ_LIBRARIES}
rt
)
set_target_properties(sls_detector_acquire PROPERTIES
@ -57,7 +57,7 @@ add_executable(sls_detector_help
target_link_libraries(sls_detector_help
slsDetectorShared
pthread
zmq
${ZeroMQ_LIBRARIES}
rt
)
set_target_properties(sls_detector_help PROPERTIES

View File

@ -64,7 +64,7 @@ target_link_libraries(slsReceiver
slsSupportLib
slsReceiverShared
pthread
zmq
${ZeroMQ_LIBRARIES}
rt
)