meson.build: Disable zlib as per -Dzlib option

Disable use of zlib as per -Dzlib option.
Default value is true. To disable zlib usage, specify -Dzlib=false

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Zack Rusin <zackr@vmware.com
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7806>
This commit is contained in:
Neha Bhende
2020-11-26 08:48:38 -08:00
committed by Marge Bot
parent 12fa2d2ac2
commit 4c285e7080
2 changed files with 12 additions and 3 deletions

View File

@@ -441,6 +441,12 @@ option(
value : 'auto',
description : 'Use ZSTD instead of ZLIB in some cases.'
)
option(
'zlib',
type : 'feature',
value : 'enabled',
description : 'Use ZLIB to build driver. Default: enabled'
)
option(
'sse2',
type : 'boolean',