aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/meson.build7
-rw-r--r--meson.build1
-rw-r--r--session/meson.build9
3 files changed, 7 insertions, 10 deletions
diff --git a/backend/meson.build b/backend/meson.build
index 02b79e65..dc5a3d66 100644
--- a/backend/meson.build
+++ b/backend/meson.build
@@ -2,6 +2,9 @@ wlr_files += files(
'backend.c',
'egl.c',
'udev.c',
+ 'session/direct-ipc.c',
+ 'session/direct.c',
+ 'session/session.c',
'drm/backend.c',
'drm/drm.c',
'libinput/backend.c',
@@ -17,3 +20,7 @@ wlr_files += files(
'wayland/registry.c',
'wayland/wl_seat.c',
)
+
+if dep_systemd.found()
+ wlr_files += files('session/logind.c')
+endif
diff --git a/meson.build b/meson.build
index 9d603e22..ed687f56 100644
--- a/meson.build
+++ b/meson.build
@@ -63,7 +63,6 @@ wlr_files = []
subdir('backend')
subdir('render')
-subdir('session')
subdir('types')
subdir('util')
diff --git a/session/meson.build b/session/meson.build
deleted file mode 100644
index 4521cff6..00000000
--- a/session/meson.build
+++ /dev/null
@@ -1,9 +0,0 @@
-wlr_files += files(
- 'direct-ipc.c',
- 'direct.c',
- 'session.c',
-)
-
-if dep_systemd.found()
- wlr_files += files('logind.c')
-endif