summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-10-19 09:47:41 -0700
committerDylan Baker <[email protected]>2019-05-03 10:57:19 -0700
commitddc15fba2be29eb667bd89625d468455b63e0bcf (patch)
tree8afc0657043a059109091b8d0364513dce9d97d1 /meson_options.txt
parent113bb8d448f51f76e8be9ecf4fe9e215e281cba2 (diff)
meson: switch gles1 and gles2 to auto options
This allows them to default to false on windows, but default to true elsewhere. As a side effect turning off shared-glapi now automatically turns off gles. Shared glapi remains a boolean defaulting to true. v5: - new in this version Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 4428745bef7..6cddf33a5c3 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -181,14 +181,16 @@ option(
)
option(
'gles1',
- type : 'boolean',
- value : true,
+ type : 'combo',
+ value : 'auto',
+ choices : ['auto', 'true', 'false'],
description : 'Build support for OpenGL ES 1.x'
)
option(
'gles2',
- type : 'boolean',
- value : true,
+ type : 'combo',
+ value : 'auto',
+ choices : ['auto', 'true', 'false'],
description : 'Build support for OpenGL ES 2.x and 3.x'
)
option(