diff --git a/CMakeLists.txt b/CMakeLists.txt index db6cb3e..7693073 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ #[[************************************************************************** * libragephoto RAGE Photo Parser -* Copyright (C) 2021-2022 Syping +* Copyright (C) 2021-2023 Syping * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: @@ -136,6 +136,7 @@ if (EMSCRIPTEN) "SHELL:-O3" "SHELL:--no-entry" "SHELL:-s WASM=1" + "SHELL:-s ALLOW_MEMORY_GROWTH=1" "SHELL:-s EXPORTED_FUNCTIONS=_free" "SHELL:-s EXPORTED_RUNTIME_METHODS=ccall,cwrap" )