diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-11 00:21:58 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-04-11 17:37:54 +0200 |
commit | 5a178c4a2398de612b7a4cb39d060ec62eec666b (patch) | |
tree | 47badbcb0055b8c54ffe1454437a18b87484b4da /protocol | |
parent | ee3640363eecc3e6f71f88eb03cdbca84e26dc27 (diff) |
build: remove wayland-scanner fallback
See the Weston discussion [1] for motivation.
[1]: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/157
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/meson.build | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/protocol/meson.build b/protocol/meson.build index dbeec868..43f12a0d 100644 --- a/protocol/meson.build +++ b/protocol/meson.build @@ -1,14 +1,10 @@ wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir') -wayland_scanner_dep = dependency('wayland-scanner', required: false, native: true) -if wayland_scanner_dep.found() - wayland_scanner = find_program( - wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'), - native: true, - ) -else - wayland_scanner = find_program('wayland-scanner', native: true) -endif +wayland_scanner_dep = dependency('wayland-scanner', native: true) +wayland_scanner = find_program( + wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'), + native: true, +) protocols = { # Stable upstream protocols |