Fixes for latest emscripten;

This commit is contained in:
bjorn 2018-01-01 20:37:36 -08:00
parent 31f6401fdd
commit e9b1eee9ff
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ if(EMSCRIPTEN)
"-s USE_GLFW=3 "
"-s USE_ZLIB=1 "
"-s ALLOW_MEMORY_GROWTH=1 "
"-s 'EXTRA_EXPORTED_RUNTIME_METHODS=[\"getValue\", \"setValue\"]' "
"-s WASM=1"
)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LOVR_EMSCRIPTEN_FLAGS}")