1
0
Fork 0

build: Add a X11 option

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3776>
This commit is contained in:
Bilal Elmoussaoui 2024-05-24 01:23:44 +02:00
parent 831b563a3c
commit 7c41468ba3
2 changed files with 7 additions and 2 deletions

View file

@ -133,8 +133,7 @@ libeis_dep = dependency('libeis-1.0', version: libei_req)
libei_dep = dependency('libei-1.0', version: libei_req)
have_wayland = get_option('wayland')
# For now always require X11 support
have_x11 = true
have_x11 = get_option('x11')
have_xwayland = get_option('xwayland')
have_x11_client = have_x11 or have_xwayland

View file

@ -45,6 +45,12 @@ option('xwayland',
description: 'Enable Xwayland support'
)
option('x11',
type: 'boolean',
value: true,
description: 'Enable X11 support'
)
option('systemd',
type: 'boolean',
value: true,