summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-01-18 15:40:00 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-02-06 13:48:53 +0000
commit476851ba416c0fa478a8ec0620d482ed5079e38b (patch)
tree2c8248271f9b3c95e6584f6674bca5a0bf24a8ec /meson_options.txt
parent6af57b07459742b90ef7471733bd090a4580fe61 (diff)
downloadlibepoxy-476851ba416c0fa478a8ec0620d482ed5079e38b.tar.gz
Allow enabling and disabling GLX support
Currently, GLX support in libepoxy at build time is hard coded, but various platforms have expressed their preference for having a configure-time option for it. For instance: - various embedded distributors do not ship with X11, but wish to use libraries that depend on libepoxy now that Wayland is available - distributors for macOS still wish to retain the ability to ship their software with X11 enabled By default, we want epoxy to build with GLX enabled pretty much everywhere it makes sense, since it's only a build-time option and it's not a run-time dependency.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 4eaa634..18932f5 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,3 +1,8 @@
option('enable-docs',
type: 'boolean', value: false,
description: 'Enable generating the Epoxy API reference (depends on Doxygen)')
+option('enable-glx',
+ type: 'combo',
+ choices: [ 'auto', 'yes', 'no' ],
+ value: 'auto',
+ description: 'Enable GLX support')