mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-18 07:47:12 +02:00
zmq back in
This commit is contained in:
@ -41,12 +41,12 @@ include_directories(
|
||||
include
|
||||
)
|
||||
|
||||
#add_library(zmq STATIC IMPORTED GLOBAL)
|
||||
add_library(zmq STATIC IMPORTED GLOBAL)
|
||||
|
||||
#set(ZMQ_STATIC_ARCHIVE ${CMAKE_CURRENT_SOURCE_DIR}/include/libzmq.a)
|
||||
#set_target_properties(zmq PROPERTIES
|
||||
# IMPORTED_LOCATION ${ZMQ_STATIC_ARCHIVE}
|
||||
#)
|
||||
set(ZMQ_STATIC_ARCHIVE ${CMAKE_CURRENT_SOURCE_DIR}/include/libzmq.a)
|
||||
set_target_properties(zmq PROPERTIES
|
||||
IMPORTED_LOCATION ${ZMQ_STATIC_ARCHIVE}
|
||||
)
|
||||
|
||||
add_library(slsReceiverStatic STATIC
|
||||
${SOURCES}
|
||||
@ -88,7 +88,7 @@ set_target_properties(slsReceiver PROPERTIES
|
||||
target_link_libraries(slsReceiver
|
||||
slsReceiverShared
|
||||
pthread
|
||||
# zmq
|
||||
zmq
|
||||
rt
|
||||
)
|
||||
|
||||
@ -105,7 +105,5 @@ install(TARGETS slsReceiverShared slsReceiverStatic slsReceiver
|
||||
PUBLIC_HEADER DESTINATION include)
|
||||
|
||||
|
||||
#install(FILES ${ZMQ_STATIC_ARCHIVE}
|
||||
#DESTINATION lib)
|
||||
install(FILES
|
||||
install(FILES ${ZMQ_STATIC_ARCHIVE}
|
||||
DESTINATION lib)
|
Reference in New Issue
Block a user