mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
Internal zmq using FetchContent (#780)
* using fetchcontent to get zmq * local copy of libzmq * added guard for policy setting * removed the need to export by using build interface * removed zmq hint from cmk script --------- Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch> Co-authored-by: froejdh_e <erik.frojdh@psi.ch>
This commit is contained in:
@ -13,17 +13,6 @@ include(CMakeFindDependencyMacro)
|
||||
set(SLS_USE_HDF5 "@SLS_USE_HDF5@")
|
||||
|
||||
|
||||
find_package(ZeroMQ 4 QUIET)
|
||||
# libzmq autotools install: fallback to pkg-config
|
||||
if(NOT ZeroMQ_FOUND)
|
||||
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/libzmq-pkg-config)
|
||||
find_package(ZeroMQ 4 REQUIRED)
|
||||
endif()
|
||||
|
||||
if(NOT ZeroMQ_FOUND)
|
||||
message(FATAL_ERROR "ZeroMQ was NOT found!")
|
||||
endif()
|
||||
|
||||
find_dependency(Threads)
|
||||
|
||||
# Add optional dependencies here
|
||||
|
Reference in New Issue
Block a user