1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-16 16:09:42 +01:00

Add necessary Emscripten linker flags

This commit is contained in:
leo60228 2021-03-31 14:27:23 -04:00 committed by Misa Elizabeth Kai
parent 6d57ccc25b
commit 7baf143a6b

View file

@ -337,3 +337,8 @@ if(HAIKU)
find_library(ROOT_LIBRARY root) find_library(ROOT_LIBRARY root)
target_link_libraries(VVVVVV ${BE_LIBRARY} ${ROOT_LIBRARY}) target_link_libraries(VVVVVV ${BE_LIBRARY} ${ROOT_LIBRARY})
endif() endif()
if(EMSCRIPTEN)
target_compile_options(VVVVVV PUBLIC -sFORCE_FILESYSTEM=1)
# 256MB is enough for everybody
target_link_libraries(VVVVVV -sFORCE_FILESYSTEM=1 -sTOTAL_MEMORY=256MB)
endif()