meson: deprecate specifying osmesa-bits

This option has no meaningful effect any more other than pointlessly
renaming the the library. Let's introduce a new default value called
"unspecified", and complain if it's set to anything else.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16213>
This commit is contained in:
Erik Faye-Lund
2022-04-29 09:15:58 +02:00
committed by Marge Bot
parent 36250e839b
commit 202cab3d30
2 changed files with 5 additions and 8 deletions

View File

@@ -420,9 +420,9 @@ option(
option(
'osmesa-bits',
type : 'combo',
value : '8',
choices : ['8', '16', '32'],
description : 'Number of channel bits for OSMesa.'
value : 'unspecified',
choices : ['unspecified', '8', '16', '32'],
description : 'DEPRECATED: Number of channel bits for OSMesa.'
)
option(