From 7056d8dad0f38d455f8019c55bfc03f0959840a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateo=20Cindri=C4=87?= Date: Thu, 28 Jul 2022 09:37:19 +0200 Subject: [PATCH] system-plugin: link required libraries with plugin library --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 780d1a0..65440b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,6 +101,14 @@ find_package(UMGMT REQUIRED) find_package(LIBSYSTEMD) find_package(AUGYANG) +target_link_libraries( + ${PLUGIN_LIRBARY_NAME} + ${SYSREPO_LIBRARIES} + ${LIBYANG_LIBRARIES} + ${SRPC_LIBRARIES} + ${UMGMT_LIBRARIES} +) + target_link_libraries( ${PROJECT_NAME} ${SYSREPO_LIBRARIES}