aboutsummaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2021-09-19 11:01:00 +0200
committerFabrice Fontaine <fontaine.fabrice@gmail.com>2021-09-19 11:31:59 +0200
commit80e97bd00bf6263845aa98b411507baba28be67e (patch)
tree1fb9c6c410c8db2e0df4b8282e107746d57f4b01 /tests/meson.build
parentcd153943618bcf157896a6d0f1154d0ad62078a7 (diff)
meson.build: wayland-scanner is only needed for tests
wayland-scanner is only needed for tests so don't require it if tests are disabled Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 66337e7..74824ae 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,4 +1,5 @@
prog_scan_sh = find_program('scan.sh')
+dep_scanner = dependency('wayland-scanner', native: true)
prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner'))
libwayland = [