mirror of
https://github.com/Bithack/principia.git
synced 2026-06-24 02:04:08 +00:00
Make user data storage persistent on Emscripten
This commit is contained in:
parent
e36bf6a9bc
commit
ac9f350134
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ endif()
|
|||
|
||||
if(EMSCRIPTEN)
|
||||
set(SDL_PTHREADS ON CACHE BOOL "" FORCE)
|
||||
set(SDL_EMSCRIPTEN_PERSISTENT_PATH "/storage" CACHE STRING "" FORCE)
|
||||
endif()
|
||||
|
||||
add_definitions(-DSDL_LEAN_AND_MEAN=1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue