diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 15:44:50 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 16:05:50 +0000 |
commit | ce8cbdbe064f5fd7f3e78b6349fa86604e6189d7 (patch) | |
tree | 8b497a038caebc24a74c64d0d8ebc596c9b081fe /meson_options.txt | |
parent | baa75c4a92bff37cb742a8c3ad42ab93e4f2a3d6 (diff) | |
download | libepoxy-ce8cbdbe064f5fd7f3e78b6349fa86604e6189d7.tar.gz |
Allow building Epoxy without X11
Epoxy can be compiled with GLX and X11 native resources on EGL. We can
disable the former, but the latter is always built in when enabling EGL
support.
Some platforms do not support X11 at all, so we need a way to disable
X11 when configuring Epoxy.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 244476a..fc3371c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -11,3 +11,7 @@ option('enable-egl', choices: [ 'auto', 'yes', 'no' ], value: 'auto', description: 'Enable EGL support') +option('x11', + type: 'boolean', + value: true, + description: 'Enable X11 support (GLX or EGL-X11)') |