From 49caafec7dee066bf3b484f61ae8c1e3929d3d24 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 5 Jan 2023 12:40:00 +0000 Subject: [PATCH] cmake: fix linking if rdkafka if dependency is not installed in system search path Signed-off-by: Steffen Vogel --- lib/nodes/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nodes/CMakeLists.txt b/lib/nodes/CMakeLists.txt index a0b38ecba..064bb6ded 100644 --- a/lib/nodes/CMakeLists.txt +++ b/lib/nodes/CMakeLists.txt @@ -119,7 +119,7 @@ endif() # Enable Kafka support if(WITH_NODE_KAFKA) list(APPEND NODE_SRC kafka.cpp) - list(APPEND LIBRARIES ${RDKAFKA_LIBRARIES}) + list(APPEND LIBRARIES PkgConfig::RDKAFKA) endif() # Enable Comedi support