diff options
author | Simon Ser <contact@emersion.fr> | 2021-06-03 15:36:38 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-09-01 15:51:03 -0400 |
commit | 267eb02c310a5905a5dab107fd10ac7c2d6137c4 (patch) | |
tree | 2c35c16d236a10d27079270f757662e0354c5621 | |
parent | d9523faa7677ddcd7d93197b2f928e9e54421a9b (diff) |
build: add subproject fallback for wayland-protocols
Depends on [1].
[1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/84
-rw-r--r-- | protocol/meson.build | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/protocol/meson.build b/protocol/meson.build index 6387312c..ab66a0a1 100644 --- a/protocol/meson.build +++ b/protocol/meson.build @@ -1,5 +1,9 @@ -wayland_protos = dependency('wayland-protocols', version: '>=1.21') -wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir') +wayland_protos = dependency('wayland-protocols', + version: '>=1.21', + fallback: ['wayland-protocols', 'wayland_protocols'], + default_options: ['tests=false'], +) +wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir', internal: 'pkgdatadir') wayland_scanner_dep = dependency('wayland-scanner', native: true) wayland_scanner = find_program( |