mirror of https://github.com/bjornbytes/lovr.git
Add vanilla Lua submodule;
This needs testing on other platforms.
This commit is contained in:
parent
49f02c65d8
commit
121e0fde4c
|
@ -3,7 +3,7 @@
|
|||
url = https://github.com/glfw/glfw
|
||||
[submodule "deps/lua"]
|
||||
path = deps/lua
|
||||
url = https://github.com/LuaDist/lua
|
||||
url = https://github.com/lua/lua
|
||||
[submodule "deps/msdfgen"]
|
||||
path = deps/msdfgen
|
||||
url = https://github.com/bjornbytes/msdfgen
|
||||
|
|
|
@ -110,7 +110,15 @@ else()
|
|||
include_directories(${LUA_INCLUDE_DIRS})
|
||||
set(LOVR_LUA ${LUA_LIBRARIES})
|
||||
else()
|
||||
message(FATAL_ERROR "Vanillua does not work on this commit")
|
||||
set(LUA_SRC
|
||||
lapi.c lauxlib.c lbaselib.c lcode.c ldblib.c ldebug.c ldo.c ldump.c lfunc.c lgc.c linit.c
|
||||
liolib.c llex.c lmathlib.c lmem.c loadlib.c lobject.c lopcodes.c loslib.c lparser.c lstate.c
|
||||
lstring.c lstrlib.c ltable.c ltablib.c ltm.c lundump.c lvm.c lzio.c
|
||||
)
|
||||
list(TRANSFORM LUA_SRC PREPEND deps/lua/)
|
||||
add_library(lua SHARED ${LUA_SRC})
|
||||
include_directories(deps/lua)
|
||||
set(LOVR_LUA lua)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 69ea087dff1daba25a2000dfb8f1883c17545b7a
|
Loading…
Reference in New Issue