aboutsummaryrefslogtreecommitdiff
path: root/backend/meson.build
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-28 21:22:50 +0100
committeremersion <contact@emersion.fr>2018-01-28 21:22:50 +0100
commit1ee61dbd0f6ab8cf9dfafb085707bd67cca50e70 (patch)
tree502ff5ebd47df13e8bb432d379cab44532c54deb /backend/meson.build
parent692d33bf8b752cc3b8a0b7f2b29c2b49dd4f718b (diff)
parentf0b3a71fbc72eeccf44bc6a6f6c39a80af918463 (diff)
Merge remote-tracking branch 'upstream/master' into output-damage
Diffstat (limited to 'backend/meson.build')
-rw-r--r--backend/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/meson.build b/backend/meson.build
index 9931f546..9c8f5852 100644
--- a/backend/meson.build
+++ b/backend/meson.build
@@ -33,11 +33,11 @@ else
backend_files += files('session/direct.c')
endif
-if systemd.found()
+if systemd.found() and get_option('enable_systemd')
backend_files += files('session/logind.c')
endif
-if elogind.found()
+if elogind.found() and get_option('enable_elogind')
backend_files += files('session/logind.c')
endif