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:
parent
6d57ccc25b
commit
7baf143a6b
1 changed files with 5 additions and 0 deletions
|
@ -337,3 +337,8 @@ if(HAIKU)
|
|||
find_library(ROOT_LIBRARY root)
|
||||
target_link_libraries(VVVVVV ${BE_LIBRARY} ${ROOT_LIBRARY})
|
||||
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()
|
||||
|
|
Loading…
Reference in a new issue