Add minimum version to lua fallback dependency to avoid confusion

This commit is contained in:
buffet 2022-03-25 20:17:11 +00:00
parent 951f0913da
commit 9808378511
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ if not get_option('source-only')
lua_dep = dependency('lua5.4', fallback: lua_quick_fallback, required : false)
if not lua_dep.found()
lua_dep = dependency('lua', fallback: ['lua', 'lua_dep'],
version: '>= 5.4',
default_options: ['default_library=static', 'line_editing=false', 'interpreter=false']
)
endif