build: Add a X11 option
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3776>
This commit is contained in:
parent
831b563a3c
commit
7c41468ba3
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue