build: add xwayland meson option

Allows disabling XWayland support at build time via -Dxwayland=disabled,
even when wlroots was built with XWayland. Defaults to auto.
This commit is contained in:
David Cohen 2026-04-02 03:01:02 -05:00
parent b7c3dba382
commit 71a33b0443
2 changed files with 7 additions and 1 deletions

View file

@ -1 +1,2 @@
option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
option('xwayland', type: 'feature', value: 'auto', description: 'Enable XWayland support')