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