summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build
index a8a1d2b..9e61f3d 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -74,6 +74,9 @@ if get_option('scanner')
if meson.can_run_host_binaries()
meson.override_find_program('wayland-scanner', wayland_scanner)
+ meson.override_dependency('wayland-scanner', declare_dependency(
+ variables: { 'wayland_scanner': 'wayland-scanner' },
+ ))
endif
endif