Add minimum version to lua fallback dependency to avoid confusion
This commit is contained in:
parent
951f0913da
commit
9808378511
|
@ -78,6 +78,7 @@ if not get_option('source-only')
|
||||||
lua_dep = dependency('lua5.4', fallback: lua_quick_fallback, required : false)
|
lua_dep = dependency('lua5.4', fallback: lua_quick_fallback, required : false)
|
||||||
if not lua_dep.found()
|
if not lua_dep.found()
|
||||||
lua_dep = dependency('lua', fallback: ['lua', 'lua_dep'],
|
lua_dep = dependency('lua', fallback: ['lua', 'lua_dep'],
|
||||||
|
version: '>= 5.4',
|
||||||
default_options: ['default_library=static', 'line_editing=false', 'interpreter=false']
|
default_options: ['default_library=static', 'line_editing=false', 'interpreter=false']
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue