From fad9ab570cfcb211c2ca9607835cd4645274b404 Mon Sep 17 00:00:00 2001 From: Jackarain Date: Fri, 20 Sep 2024 15:49:16 +0800 Subject: [PATCH] Missing link systemd lib --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d055967b8..fd5ff67e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,6 +128,7 @@ endif() if (ENABLE_USE_SYSTEMD_LOG) add_definitions(-DUSE_SYSTEMD_LOGGING) + link_libraries(systemd) endif() ################################################################################