Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
15 lines
639 B
Diff
15 lines
639 B
Diff
diff --git a/src/helper/CMakeLists.txt b/src/helper/CMakeLists.txt
|
|
index 38deb12..7bbaa81 100644
|
|
--- a/src/helper/CMakeLists.txt
|
|
+++ b/src/helper/CMakeLists.txt
|
|
@@ -27,8 +27,8 @@ message("D-Bus files will be installed into ${DBUS_DATADIR_PREFIX_DIR}/dbus-1")
|
|
option(POLKIT_POLICY_INSTALL_DIR "Polkit policy files installation directory" OFF)
|
|
|
|
# Find polkit
|
|
+pkg_check_modules(POLKIT REQUIRED polkit-gobject-1)
|
|
if(NOT POLKIT_POLICY_INSTALL_DIR)
|
|
- pkg_check_modules(POLKIT REQUIRED polkit-gobject-1)
|
|
execute_process(
|
|
COMMAND pkg-config --variable=policydir polkit-gobject-1
|
|
RESULT_VARIABLE POLKIT_POLICY_INSTALL_DIR_RESULT
|