aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/meson.build14
1 files changed, 13 insertions, 1 deletions
diff --git a/xwayland/meson.build b/xwayland/meson.build
index 08ad7a39..81cb018e 100644
--- a/xwayland/meson.build
+++ b/xwayland/meson.build
@@ -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