From 44bdfe9ddc289908ade1007dcdfd2dd7055fddbf Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 9 Nov 2026 22:43:43 +0000 Subject: [PATCH] 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 --- fairmq/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fairmq/CMakeLists.txt b/fairmq/CMakeLists.txt index 6a73b46a..40cb91bc 100644 --- a/fairmq/CMakeLists.txt +++ b/fairmq/CMakeLists.txt @@ -211,9 +211,9 @@ if(BUILD_FAIRMQ) PUBLIC # libFairMQ AND consumers of libFairMQ link aginst public dependencies Threads::Threads - dl + ${CMAKE_DL_LIBS} $<$:rt> - Boost::boost + Boost::headers Boost::program_options Boost::filesystem # still needed for Boost.DLL Boost::regex @@ -280,7 +280,7 @@ if(BUILD_FAIRMQ) target_link_libraries(fairmq-shmmonitor PUBLIC Threads::Threads $<$:rt> - Boost::boost + Boost::headers Boost::date_time $<$:Boost::filesystem> Boost::program_options