summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-04-18 13:20:28 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-05-03 10:57:36 -0700
commitf5eafc2dc6a68c9c2c2660dff528de1ecdedf4dc (patch)
tree8613f74cb6bfc3bb670017a4956b0c0194d6797a /meson_options.txt
parentddc15fba2be29eb667bd89625d468455b63e0bcf (diff)
meson: Make shader-cache a trillean instead of boolean
So that it can be implicitly disabled on windows, where it doesn't compile. v2: - Use an auto-option rather than automagic. - fix shader_cache check (== -> !=) v4: - Use new with_shader_cache instead of get_option('shader-cache') elsewhere in the meson build Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 6cddf33a5c3..1f72faabee8 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -157,8 +157,9 @@ option(
)
option(
'shader-cache',
- type : 'boolean',
- value : true,
+ type : 'combo',
+ value : 'auto',
+ choices : ['auto', 'true', 'false'],
description : 'Build with on-disk shader cache support'
)
option(