meson: use a feature option for valgrind

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 15:38:10 -08:00
committed by Marge Bot
parent d00c6e0fd7
commit 3f10a89180
3 changed files with 12 additions and 26 deletions

View File

@@ -335,9 +335,7 @@ option(
)
option(
'valgrind',
type : 'combo',
value : 'auto',
choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
type : 'feature',
description : 'Build with valgrind support'
)
option(