From 5b5a08d0a2d1ae2d95699d4694543708d042357a Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Thu, 5 Dec 2024 03:01:20 +0900 Subject: [PATCH] support building wivrnctl with elogind --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ead5c94e..347ce7f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -224,7 +224,7 @@ endif() if (WIVRN_BUILD_WIVRNCTL) find_package(CLI11 REQUIRED) - pkg_check_modules(SYSTEMD REQUIRED IMPORTED_TARGET libsystemd) + pkg_search_module(SYSTEMD REQUIRED IMPORTED_TARGET libsystemd libelogind) endif() # Common dependencies