mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
feat: Drop public bundled dependency to asio
This commit is contained in:
committed by
Dennis Klein
parent
1007de8e49
commit
0c4921d650
@@ -42,13 +42,10 @@ if(BUILD_FAIRMQ OR BUILD_SDK)
|
||||
find_package2(PUBLIC Boost REQUIRED VERSION 1.66
|
||||
COMPONENTS container program_options filesystem date_time regex
|
||||
)
|
||||
set(__asio_version 1.18.1)
|
||||
find_package2(BUNDLED asio VERSION ${__asio_version})
|
||||
if(NOT asio_FOUND AND NOT asio_BUNDLED)
|
||||
build_bundled(asio extern/asio)
|
||||
find_package2(BUNDLED asio REQUIRED VERSION ${__asio_version})
|
||||
endif()
|
||||
unset(__asio_version)
|
||||
endif()
|
||||
|
||||
if(BUILD_OFI_TRANSPORT OR BUILD_SDK OR BUILD_DDS_PLUGIN)
|
||||
find_package2(PUBLIC asio REQUIRED VERSION 1.18)
|
||||
endif()
|
||||
|
||||
if(BUILD_FAIRMQ)
|
||||
|
Reference in New Issue
Block a user