summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-04 23:09:18 +0200
committerSimon Ser <contact@emersion.fr>2023-05-19 23:34:18 +0000
commit60c6b510979a48fc3ff62237e4fc33b5adef193e (patch)
treef645c0615f31a8e09a345fa8204739ca37fa07ec
parentf89eb17d5561b39bfee5f611518a545624d0cc87 (diff)
build: add Wayland subproject
This allows developers to work on a new wayland-scanner feature and test it with wayland-protocols without too much hassle. Depends on https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/313 Signed-off-by: Simon Ser <contact@emersion.fr>
-rw-r--r--tests/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 2441cce..4f7cdf8 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,6 +1,6 @@
prog_scan_sh = find_program('scan.sh')
-dep_scanner = dependency('wayland-scanner', version: '>=1.20.0', native: true)
-prog_scanner = find_program(dep_scanner.get_variable(pkgconfig: 'wayland_scanner'))
+dep_scanner = dependency('wayland-scanner', version: '>=1.20.0', native: true, fallback: 'wayland')
+prog_scanner = find_program(dep_scanner.get_variable(pkgconfig: 'wayland_scanner', internal: 'wayland_scanner'))
libwayland = [
dependency('wayland-client'),