build: subproject support for wayland-protocols

As in wlroots: [1]

[1]: https://github.com/swaywm/wlroots/pull/2953
master
lbonn 3 years ago committed by Simon Ser
parent 91d6d00414
commit adf9e16c88

@ -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()

Loading…
Cancel
Save