Add Lua 5.2.4 as a subproject

This commit is contained in:
Francesco Abbate 2020-06-29 15:26:00 +02:00
parent 77a9819f4e
commit c4da51e8df
2 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,9 @@ cc = meson.get_compiler('c')
libm = cc.find_library('m', required : false)
libdl = cc.find_library('dl', required : false)
lua_dep = dependency('lua5.2')
lua_subproject = subproject('lua', default_options: [])
lua_dep = lua_subproject.get_variable('lua_dep')
sdl_dep = dependency('sdl2', method: 'config-tool')
lite_include = include_directories('src')

4
subprojects/lua.wrap Normal file
View File

@ -0,0 +1,4 @@
[wrap-git]
directory = lua
url = https://github.com/franko/lua
revision = v5.2.4-4