Fix for emscripten 1.39.1

Now IDBFS needs to be linked explicitly.
This commit is contained in:
kichikuou
2019-11-18 14:40:40 +09:00
parent 95b57f1ce0
commit 38313505dc
+1
View File
@@ -95,6 +95,7 @@ else() # emscripten
set(LIBS "SHELL:-s USE_SDL=2" "SHELL:-s USE_SDL_TTF=2")
target_compile_options(system3 PRIVATE ${LIBS})
target_link_options(system3 PRIVATE ${LIBS})
target_link_libraries(system3 PRIVATE idbfs.js)
# Without optimizations, Asyncify generates very large code.
list(APPEND CMAKE_EXE_LINKER_FLAGS_DEBUG "-O1")