mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-24 16:12:23 +00:00
xwayland: enable use of a xserver subproject
Makes it easier to work on Xwayland and wlroots features in parallel. References: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1048
This commit is contained in:
parent
403eac51c4
commit
2827ec6b7b
@ -20,7 +20,19 @@ if not get_option('xwayland').disabled()
|
||||
msg += 'Required for Xwayland support.'
|
||||
endif
|
||||
|
||||
xwayland = dependency('xwayland', required: get_option('xwayland'))
|
||||
xwayland = dependency(
|
||||
'xwayland',
|
||||
required: get_option('xwayland'),
|
||||
fallback: 'xserver',
|
||||
default_options: [
|
||||
'werror=false',
|
||||
'xorg=false',
|
||||
'xephyr=false',
|
||||
'xwayland=true',
|
||||
'xnest=false',
|
||||
'xvfb=false',
|
||||
],
|
||||
)
|
||||
if not xwayland.found()
|
||||
subdir_done()
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user