summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2024-03-27 11:35:09 +0800
committermouse <[email protected]>2024-04-01 09:28:09 +0800
commit9c2e88747e09882537a7ca9b759fdaf37a42a2c2 (patch)
tree6f5c06d450355a0ac27ce33d19956bf38a06d165 /capplets
parentd7f3c6235a8caba9e372c51bb3e0306be1fa240b (diff)
downloadmate-control-center-9c2e88747e09882537a7ca9b759fdaf37a42a2c2.tar.bz2
mate-control-center-9c2e88747e09882537a7ca9b759fdaf37a42a2c2.tar.xz
Add time-admin dependency check on systemd
time-admin depends on systemd. If systemd is not used in the systemd, time-admin is disabled
Diffstat (limited to 'capplets')
-rw-r--r--capplets/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/capplets/Makefile.am b/capplets/Makefile.am
index 017bdea3..cf6de1b3 100644
--- a/capplets/Makefile.am
+++ b/capplets/Makefile.am
@@ -8,11 +8,14 @@ SUBDIRS = \
keybindings \
mouse \
network \
- time-admin \
windows \
about-me \
system-info
+if HAVE_SYSTEMD
+SUBDIRS += time-admin
+endif
+
DIST_SUBDIRS = \
common \
accessibility \