build: add wayland-protocols to dependencies array

We grab header files from there, ensure include directories are
properly set up when building wlroots.

Fixes missing header files when a wayland-protocols subproject is
used.
This commit is contained in:
Simon Ser 2025-08-16 19:19:52 +02:00 committed by Simon Zeni
parent b799ffc6ae
commit 122310a2de

View file

@ -4,6 +4,7 @@ wayland_protos = dependency('wayland-protocols',
default_options: ['tests=false'],
)
wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
wlr_deps += wayland_protos
wayland_scanner_dep = dependency('wayland-scanner',
kwargs: wayland_kwargs,