mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
build interface
This commit is contained in:
parent
e7e201bd2a
commit
775d0842e9
@ -15,7 +15,6 @@ add_library(slsDetectorShared SHARED
|
||||
${HEADERS}
|
||||
)
|
||||
|
||||
|
||||
# Do we have link time optimization?
|
||||
check_ipo_supported(RESULT LTO_AVAILABLE)
|
||||
if(LTO_AVAILABLE)
|
||||
@ -28,13 +27,15 @@ target_include_directories(slsDetectorShared PUBLIC
|
||||
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
|
||||
)
|
||||
|
||||
target_link_libraries(slsDetectorShared PUBLIC
|
||||
slsProjectOptions
|
||||
slsProjectWarnings
|
||||
target_link_libraries(slsDetectorShared
|
||||
PUBLIC
|
||||
slsSupportLib
|
||||
zmq
|
||||
pthread
|
||||
rt
|
||||
PRIVATE
|
||||
slsProjectOptions
|
||||
slsProjectWarnings
|
||||
${ZeroMQ_LIBRARIES}
|
||||
)
|
||||
|
||||
|
||||
|
@ -61,11 +61,14 @@ set_target_properties(slsSupportLib PROPERTIES
|
||||
message(${ZeroMQ_LIBRARIES})
|
||||
|
||||
target_link_libraries(slsSupportLib
|
||||
PRIVATE
|
||||
${ZeroMQ_LIBRARIES}
|
||||
slsProjectOptions
|
||||
slsProjectWarnings
|
||||
# ${ZeroMQ_LIBRARIES}
|
||||
zmq
|
||||
rapidjson)
|
||||
rapidjson
|
||||
)
|
||||
|
||||
|
||||
|
||||
if (SLS_USE_TESTS)
|
||||
add_subdirectory(tests)
|
||||
|
Loading…
x
Reference in New Issue
Block a user