mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
build: add subproject fallback for wayland
This commit is contained in:
parent
ee6c841d47
commit
d9523faa76
1 changed files with 11 additions and 2 deletions
13
meson.build
13
meson.build
|
@ -96,8 +96,17 @@ internal_features = {
|
|||
'xcb-errors': false,
|
||||
}
|
||||
|
||||
wayland_server = dependency('wayland-server', version: '>=1.19')
|
||||
wayland_client = dependency('wayland-client')
|
||||
wayland_project_options = ['tests=false', 'documentation=false']
|
||||
wayland_server = dependency('wayland-server',
|
||||
version: '>=1.19',
|
||||
fallback: ['wayland', 'wayland_server_dep'],
|
||||
default_options: wayland_project_options,
|
||||
)
|
||||
wayland_client = dependency('wayland-client',
|
||||
fallback: ['wayland', 'wayland_client_dep'],
|
||||
default_options: wayland_project_options,
|
||||
)
|
||||
|
||||
drm = dependency('libdrm', version: '>=2.4.105')
|
||||
gbm = dependency('gbm', version: '>=17.1.0')
|
||||
xkbcommon = dependency('xkbcommon')
|
||||
|
|
Loading…
Reference in a new issue