mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
build: add subproject fallback for wayland-protocols
Depends on [1]. [1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/84
This commit is contained in:
parent
d9523faa76
commit
267eb02c31
1 changed files with 6 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue