mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
refactor(cmake): link CMAKE_DL_LIBS and Boost::headers
- Use the platform variable instead of the literal dl - Use Boost::headers instead of the legacy alias Boost::boost Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -211,9 +211,9 @@ if(BUILD_FAIRMQ)
|
|||||||
|
|
||||||
PUBLIC # libFairMQ AND consumers of libFairMQ link aginst public dependencies
|
PUBLIC # libFairMQ AND consumers of libFairMQ link aginst public dependencies
|
||||||
Threads::Threads
|
Threads::Threads
|
||||||
dl
|
${CMAKE_DL_LIBS}
|
||||||
$<$<PLATFORM_ID:Linux>:rt>
|
$<$<PLATFORM_ID:Linux>:rt>
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Boost::program_options
|
Boost::program_options
|
||||||
Boost::filesystem # still needed for Boost.DLL
|
Boost::filesystem # still needed for Boost.DLL
|
||||||
Boost::regex
|
Boost::regex
|
||||||
@@ -280,7 +280,7 @@ if(BUILD_FAIRMQ)
|
|||||||
target_link_libraries(fairmq-shmmonitor PUBLIC
|
target_link_libraries(fairmq-shmmonitor PUBLIC
|
||||||
Threads::Threads
|
Threads::Threads
|
||||||
$<$<PLATFORM_ID:Linux>:rt>
|
$<$<PLATFORM_ID:Linux>:rt>
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Boost::date_time
|
Boost::date_time
|
||||||
$<$<NOT:${FAIRMQ_HAS_STD_FILESYSTEM}>:Boost::filesystem>
|
$<$<NOT:${FAIRMQ_HAS_STD_FILESYSTEM}>:Boost::filesystem>
|
||||||
Boost::program_options
|
Boost::program_options
|
||||||
|
|||||||
Reference in New Issue
Block a user