mirror of https://github.com/bjornbytes/lovr.git
Disable Lua popen support in emscripten;
This commit is contained in:
parent
aef08a9719
commit
04a5202d0d
|
@ -128,6 +128,7 @@ unset(LIB_SUFFIX CACHE)
|
|||
if(EMSCRIPTEN)
|
||||
option(LUA_USE_RELATIVE_LOADLIB OFF)
|
||||
option(LUA_USE_ULONGJMP OFF)
|
||||
option(LUA_USE_POPEN OFF)
|
||||
add_subdirectory(deps/lua lua)
|
||||
set_target_properties(lua luac liblua liblua_static PROPERTIES EXCLUDE_FROM_ALL 1)
|
||||
include_directories(deps/lua/src ${CMAKE_BINARY_DIR}/lua)
|
||||
|
|
Loading…
Reference in New Issue