Freedreno needs at least Lua 5.2, but the current code will report found
for 5.1, which doesn't actually work.
Fixes: caa107cb8db930bc59cd557a325a6a0bc4a86565
("freedreno/decode: move dependencies up a level")
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6229>
dep_lua = dependency('lua52', required: false)
endif
if not dep_lua.found()
- dep_lua = dependency('lua', required: false)
+ dep_lua = dependency('lua', required: false, version : '>=5.2')
endif
dep_libarchive = dependency('libarchive', required: false)