mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
meson: use kwargs for wayland deps
This commit is contained in:
parent
f233d25e86
commit
2ff95e5c97
3 changed files with 14 additions and 7 deletions
13
meson.build
13
meson.build
|
|
@ -83,11 +83,16 @@ internal_features = {
|
|||
}
|
||||
internal_config = configuration_data()
|
||||
|
||||
wayland_project_options = ['tests=false', 'documentation=false']
|
||||
wayland_kwargs = {
|
||||
'version': '>=1.23',
|
||||
'fallback': 'wayland',
|
||||
'default_options': [
|
||||
'tests=false',
|
||||
'documentation=false',
|
||||
],
|
||||
}
|
||||
wayland_server = dependency('wayland-server',
|
||||
version: '>=1.23',
|
||||
fallback: 'wayland',
|
||||
default_options: wayland_project_options,
|
||||
kwargs: wayland_kwargs,
|
||||
)
|
||||
|
||||
drm = dependency('libdrm',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue