diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f49480f..d2336a20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)