diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-10-30 10:27:48 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-10-31 10:37:17 -0700 |
commit | 0589331d54396cbcdcf985ba37470e77a4c7bee2 (patch) | |
tree | a98d911ef53ba46e599e490efad85a74f9fc3e2c /meson_options.txt | |
parent | f03b7c9ad92c1656a221297819fbc6d065cc0af7 (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 <ajax@redhat.com>
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 6 |
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( |