meson: use a feature option for zstd

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20409>
This commit is contained in:
Dylan Baker
2022-12-20 16:37:35 -08:00
committed by Marge Bot
parent e3f60ea4a8
commit afa97e7468
2 changed files with 4 additions and 18 deletions

View File

@@ -442,9 +442,7 @@ option(
)
option(
'zstd',
type : 'combo',
choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
value : 'auto',
type : 'feature',
description : 'Use ZSTD instead of ZLIB in some cases.'
)
option(