etnaviv: isa: Add meson version check

meson had an issue [1] with proc_macro that got fixed in 1.4.0 and newer.

[1] https://github.com/mesonbuild/meson/issues/12758

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28869>
This commit is contained in:
Christian Gmeiner
2024-04-17 11:25:57 +02:00
committed by Marge Bot
parent 0ce255a9f6
commit 575814af14

View File

@@ -91,6 +91,10 @@ disasm = executable(
)
if with_tools.contains('etnaviv')
if meson.version().version_compare('< 1.4.0')
error('etnaviv requires meson 1.4.0 or newer')
endif
add_languages('rust', required: true)
rust = import('rust')