summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2019-05-31 16:16:22 -0700
committerDylan Baker <[email protected]>2019-09-10 20:36:47 +0000
commit8424209a421274552d7eed42154750df40a3f87a (patch)
treef8e396ec5831c24be6a3059933b5094930ca7dfe /meson_options.txt
parenta1a870319951f49c4169040e5efb3d550c6882f0 (diff)
meson: Make shared-glapi a combo
So it can auto off for windows, but on elsewhere. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/meson_options.txt b/meson_options.txt
index b768c15053c..aadf7fd0721 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -176,9 +176,10 @@ option(
)
option(
'shared-glapi',
- type : 'boolean',
- value : true,
- description : 'Whether to build a shared or static glapi'
+ type : 'combo',
+ value : 'auto',
+ choices : ['auto', 'true', 'false'],
+ description : 'Whether to build a shared or static glapi. Defaults to false on Windows, true elsewhere'
)
option(
'gles1',