mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-13 07:58:40 +01:00
added option to use system zmq (#1318)
* added option to use system zmq * added notes in release.txt
This commit is contained in:
@@ -93,9 +93,16 @@ target_link_libraries(slsSupportObject
|
||||
PRIVATE
|
||||
slsProjectWarnings
|
||||
md5sls
|
||||
"$<BUILD_INTERFACE:libzmq-static>"
|
||||
)
|
||||
|
||||
#Treat both vendored and system zmq as interface for receiver binaries
|
||||
if(SLS_USE_SYSTEM_ZMQ)
|
||||
message(STATUS "slsSupportLib using ZEROMQ_TARGET=${ZEROMQ_TARGET}")
|
||||
target_link_libraries(slsSupportObject PRIVATE "${ZEROMQ_TARGET}")
|
||||
else()
|
||||
target_link_libraries(slsSupportObject PRIVATE "$<BUILD_INTERFACE:libzmq-static>")
|
||||
endif()
|
||||
|
||||
if (SLS_USE_TESTS)
|
||||
add_subdirectory(tests)
|
||||
endif(SLS_USE_TESTS)
|
||||
|
||||
Reference in New Issue
Block a user