build: subproject support for wayland-protocols

As in wlroots: [1]

[1]: https://github.com/swaywm/wlroots/pull/2953
This commit is contained in:
lbonn 2021-09-08 01:45:38 +02:00 committed by Simon Ser
parent 91d6d00414
commit adf9e16c88

View file

@ -1,4 +1,4 @@
wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir') wl_protocol_dir = wayland_protos.get_variable('pkgdatadir')
wayland_scanner_dep = dependency('wayland-scanner', required: false, native: true) wayland_scanner_dep = dependency('wayland-scanner', required: false, native: true)
if wayland_scanner_dep.found() if wayland_scanner_dep.found()