From f13aeec8d1c6b8390b6e422e88fef2afd7d81f55 Mon Sep 17 00:00:00 2001 From: Andre Paiusco <2374887+Paiusco@users.noreply.github.com> Date: Thu, 2 May 2024 12:00:23 +0200 Subject: [PATCH] Extra explanation to SD_UNITDIR usage --- Daemon/systemd/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Daemon/systemd/CMakeLists.txt b/Daemon/systemd/CMakeLists.txt index fc6c3a8..d25800b 100644 --- a/Daemon/systemd/CMakeLists.txt +++ b/Daemon/systemd/CMakeLists.txt @@ -1,7 +1,8 @@ find_package(PkgConfig) # Try to get the systemd directory for system/user units from the package -# and fall back on upstream default without the '/usr' prefix +# and fall back on upstream default without the '/usr' prefix if not forced by +# command line. pkg_check_modules(SYSTEMD systemd) if (SYSTEMD_FOUND) if(SYSTEMD_USER_SERVICE)