1
0
Fork 0

build: Add X11/XWayland config options

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2354>
This commit is contained in:
Bilal Elmoussaoui 2022-05-06 15:51:40 +02:00
parent 98f0b20e03
commit e83491d9b9
2 changed files with 12 additions and 0 deletions

View file

@ -43,6 +43,15 @@
/* Define if you want to enable Wayland support */
#mesondefine HAVE_WAYLAND
/* Define if you want to enable XWayland support */
#mesondefine HAVE_XWAYLAND
/* Define if you want to enable X11 backend support */
#mesondefine HAVE_X11
/* Define if either XWayland or X11 backend are enabled */
#mesondefine HAVE_X11_CLIENT
/* Defined if screen cast and remote desktop support is enabled */
#mesondefine HAVE_REMOTE_DESKTOP

View file

@ -472,6 +472,9 @@ cdata.set_quoted('PACKAGE_VERSION', meson.project_version())
cdata.set('HAVE_EGL', have_egl)
cdata.set('HAVE_WAYLAND', have_wayland)
cdata.set('HAVE_XWAYLAND', have_xwayland)
cdata.set('HAVE_X11', have_x11)
cdata.set('HAVE_X11_CLIENT', have_x11_client)
cdata.set('HAVE_LIBSYSTEMD', have_libsystemd)
cdata.set('HAVE_NATIVE_BACKEND', have_native_backend)
cdata.set('HAVE_REMOTE_DESKTOP', have_remote_desktop)