aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/wayland/meson.build6
-rw-r--r--examples/meson.build1
-rw-r--r--meson.build5
3 files changed, 7 insertions, 5 deletions
diff --git a/backend/wayland/meson.build b/backend/wayland/meson.build
index ebe31529..103d3f9f 100644
--- a/backend/wayland/meson.build
+++ b/backend/wayland/meson.build
@@ -1,3 +1,9 @@
+wayland_client = dependency('wayland-client',
+ fallback: ['wayland', 'wayland_client_dep'],
+ default_options: wayland_project_options,
+)
+wlr_deps += wayland_client
+
wlr_files += files(
'backend.c',
'output.c',
diff --git a/examples/meson.build b/examples/meson.build
index 1e428e81..3ec4dac4 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -1,6 +1,7 @@
threads = dependency('threads')
wayland_egl = dependency('wayland-egl')
wayland_cursor = dependency('wayland-cursor')
+wayland_client = dependency('wayland-client')
libpng = dependency('libpng', required: false, disabler: true)
egl = dependency('egl', required: false, disabler: true)
glesv2 = dependency('glesv2', required: false, disabler: true)
diff --git a/meson.build b/meson.build
index 2f296949..2e72e445 100644
--- a/meson.build
+++ b/meson.build
@@ -103,10 +103,6 @@ wayland_server = dependency('wayland-server',
fallback: ['wayland', 'wayland_server_dep'],
default_options: wayland_project_options,
)
-wayland_client = dependency('wayland-client',
- fallback: ['wayland', 'wayland_client_dep'],
- default_options: wayland_project_options,
-)
drm = dependency('libdrm', version: '>=2.4.105')
gbm = dependency('gbm', version: '>=17.1.0')
@@ -119,7 +115,6 @@ rt = cc.find_library('rt')
wlr_files = []
wlr_deps = [
wayland_server,
- wayland_client,
drm,
gbm,
xkbcommon,