From 681b033cbcbb9700a4b3742aa607ab52eabbed4a Mon Sep 17 00:00:00 2001 From: Barthelemy Date: Mon, 10 Feb 2025 09:02:36 +0100 Subject: [PATCH] Set the kafka libs deps private --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5211679b..3eedbeff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -164,13 +164,13 @@ set_target_properties(Monitoring PROPERTIES OUTPUT_NAME "O2Monitoring") target_link_libraries(Monitoring PUBLIC Boost::boost - $<$:${RDKAFKA_LIBS}> PRIVATE Boost::system pthread $<$:ApMon::ApMon> $<$:CURL::libcurl> $<$:AliceO2::InfoLogger> + $<$:${RDKAFKA_LIBS}> ) # Handle ApMon optional dependency