build: override wayland-scanner dep
This allows a parent project to find wayland-scanner. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
8f2a33cffc
commit
2aec19ce41
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user