diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-25 10:46:00 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-25 10:46:00 +0100 |
commit | 366f6ef3d31688631dc453028e108f98a1d7ab57 (patch) | |
tree | d7433723c40be6f12a0d193b7a84e6f1633df02c /protocols/meson.build | |
parent | Use shm_open instead of mkstemp (diff) | |
download | sway-366f6ef3d31688631dc453028e108f98a1d7ab57.tar.gz sway-366f6ef3d31688631dc453028e108f98a1d7ab57.tar.zst sway-366f6ef3d31688631dc453028e108f98a1d7ab57.zip |
build: drop wayland-scanner fallback
Diffstat (limited to 'protocols/meson.build')
-rw-r--r-- | protocols/meson.build | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/protocols/meson.build b/protocols/meson.build index 71e700bb..59c58122 100644 --- a/protocols/meson.build +++ b/protocols/meson.build | |||
@@ -1,14 +1,10 @@ | |||
1 | wl_protocol_dir = wayland_protos.get_variable('pkgdatadir') | 1 | wl_protocol_dir = wayland_protos.get_variable('pkgdatadir') |
2 | 2 | ||
3 | wayland_scanner_dep = dependency('wayland-scanner', required: false, native: true) | 3 | wayland_scanner_dep = dependency('wayland-scanner', native: true) |
4 | if wayland_scanner_dep.found() | 4 | wayland_scanner = find_program( |
5 | wayland_scanner = find_program( | 5 | wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'), |
6 | wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'), | 6 | native: true, |
7 | native: true, | 7 | ) |
8 | ) | ||
9 | else | ||
10 | wayland_scanner = find_program('wayland-scanner', native: true) | ||
11 | endif | ||
12 | 8 | ||
13 | protocols = [ | 9 | protocols = [ |
14 | wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml', | 10 | wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml', |