mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
build: drop wayland-scanner fallback
This commit is contained in:
parent
e2bc8866f4
commit
366f6ef3d3
@ -1,14 +1,10 @@
|
|||||||
wl_protocol_dir = wayland_protos.get_variable('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', native: true)
|
||||||
if wayland_scanner_dep.found()
|
wayland_scanner = find_program(
|
||||||
wayland_scanner = find_program(
|
wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'),
|
||||||
wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'),
|
native: true,
|
||||||
native: true,
|
)
|
||||||
)
|
|
||||||
else
|
|
||||||
wayland_scanner = find_program('wayland-scanner', native: true)
|
|
||||||
endif
|
|
||||||
|
|
||||||
protocols = [
|
protocols = [
|
||||||
wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml',
|
wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml',
|
||||||
|
Loading…
Reference in New Issue
Block a user