meson: set the legacy-x11 option as deprecated

Meson may be able to give better error messages and summary outputs when
this is set.

Fixes: 08c6ba223b ("x11: Remove DRI2 support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36126>
(cherry picked from commit 21a5501ece)
This commit is contained in:
Dylan Baker 2025-07-14 15:06:57 -07:00 committed by Eric Engestrom
parent a2e59f1f7f
commit 082a1fa48c
2 changed files with 2 additions and 1 deletions

View file

@ -424,7 +424,7 @@
"description": "meson: set the `legacy-x11` option as deprecated",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "08c6ba223bb70acf23e87ea50c9f8e66038ceec0",
"notes": null

View file

@ -792,6 +792,7 @@ option(
type : 'array',
value : [],
description : 'Build legacy X11 support features.',
deprecated : true,
choices : [
],
)