meson: use a feature option for xlib-lease

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:36:46 -08:00
committed by Marge Bot
parent ce490a20e7
commit e3f60ea4a8
2 changed files with 4 additions and 16 deletions

View File

@@ -412,9 +412,7 @@ option(
)
option(
'xlib-lease',
type : 'combo',
value : 'auto',
choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
type : 'feature',
description : 'Enable VK_EXT_acquire_xlib_display.'
)
option(