aboutsummaryrefslogtreecommitdiff
path: root/backend/meson.build
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-03-28 00:20:39 -0400
committerTony Crisci <tony@dubstepdish.com>2018-03-28 00:20:39 -0400
commit41e54ba632ae5804d09f75f1af4a708ea33932cf (patch)
tree79a523c5dc4bdf148361ebcda47c4d6a9027e98a /backend/meson.build
parentedb643fc6c55b47dd766b4e516b16108719d1ecd (diff)
parent330ee081269790922a46091399b616b12ce14f51 (diff)
Merge branch 'master' into xdg-positioner
Diffstat (limited to 'backend/meson.build')
-rw-r--r--backend/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/backend/meson.build b/backend/meson.build
index c0ed76f1..a74ea024 100644
--- a/backend/meson.build
+++ b/backend/meson.build
@@ -24,7 +24,6 @@ backend_files = files(
'wayland/output.c',
'wayland/registry.c',
'wayland/wl_seat.c',
- 'x11/backend.c',
)
backend_deps = [
@@ -50,6 +49,10 @@ if conf_data.get('WLR_HAS_SYSTEMD', false)
backend_deps += systemd
endif
+if conf_data.get('WLR_HAS_X11_BACKEND', false)
+ backend_files += files('x11/backend.c')
+endif
+
if conf_data.get('WLR_HAS_ELOGIND', false)
backend_files += files('session/logind.c')
backend_deps += elogind