Disable Lua popen support in emscripten;

This commit is contained in:
bjorn 2018-05-01 16:47:11 -07:00 committed by bjornbytes
parent aef08a9719
commit 04a5202d0d
1 changed files with 1 additions and 0 deletions

View File

@ -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)