summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-30 10:27:48 -0700
committerDylan Baker <[email protected]>2017-10-31 10:37:17 -0700
commit0589331d54396cbcdcf985ba37470e77a4c7bee2 (patch)
treea98d911ef53ba46e599e490efad85a74f9fc3e2c /meson_options.txt
parentf03b7c9ad92c1656a221297819fbc6d065cc0af7 (diff)
meson: Use true and false instead of yes and no for tristate options
This allows a user to not care whether they're setting a tristate or a boolean option, which is a nice user facing feature, and something I've personally run into. Suggested-by: Adam Jackson <[email protected]> Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/meson_options.txt b/meson_options.txt
index f6f21b4c02d..d93dd6eab2a 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -28,7 +28,7 @@ option(
'dri3',
type : 'combo',
value : 'auto',
- choices : ['auto', 'yes', 'no'],
+ choices : ['auto', 'true', 'false'],
description : 'enable support for dri3'
)
option(
@@ -101,7 +101,7 @@ option(
'gbm',
type : 'combo',
value : 'auto',
- choices : ['auto', 'yes', 'no'],
+ choices : ['auto', 'true', 'false'],
description : 'Build support for gbm platform'
)
option(
@@ -115,7 +115,7 @@ option(
'egl',
type : 'combo',
value : 'auto',
- choices : ['auto', 'yes', 'no'],
+ choices : ['auto', 'true', 'false'],
description : 'Build support for EGL platform'
)
option(