aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-01-28 15:05:31 -0500
committerGitHub <noreply@github.com>2018-01-28 15:05:31 -0500
commitf0b3a71fbc72eeccf44bc6a6f6c39a80af918463 (patch)
tree6671170c37e00ffd1fb67994a55ccf5ba760be90 /backend
parentfacc5ef93a705b4c4cbe4acb6ebd44b256db5d3e (diff)
parent41ec686693821d6d436dae193e675a9b2746a369 (diff)
Merge pull request #590 from pks-t/pks/rootston-wo-xwayland
Fix building rootston without XWayland
Diffstat (limited to 'backend')
-rw-r--r--backend/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/meson.build b/backend/meson.build
index b8084448..173b65f6 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