meson: turn glvnd option into a feature

Makes for nicer code, and allows the next commit.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26367>
This commit is contained in:
Eric Engestrom
2023-11-20 15:08:26 +00:00
committed by Marge Bot
parent 3a4a16e9e8
commit 4f25b84b24
4 changed files with 18 additions and 19 deletions

View File

@@ -361,8 +361,9 @@ option(
option(
'glvnd',
type : 'boolean',
value : false,
type : 'feature',
value : 'disabled',
deprecated: {'true': 'enabled', 'false': 'disabled'},
description : 'Enable GLVND support.'
)