1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

cmake: fix linking if rdkafka if dependency is not installed in system search path

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
This commit is contained in:
Steffen Vogel 2023-01-05 12:40:00 +00:00 committed by Philipp Jungkamp
parent 76e2986ee7
commit 49caafec7d

View file

@ -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