Mercurial > hg > orthanc
changeset 4070:f1e82dd6acb1 framework
fixed emscripten options
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Jun 2020 17:37:11 +0200 |
parents | cf454aabfc19 |
children | d6b7fb0f9652 |
files | OrthancFramework/Resources/CMake/EmscriptenParameters.cmake |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/EmscriptenParameters.cmake Fri Jun 12 12:32:34 2020 +0200 +++ b/OrthancFramework/Resources/CMake/EmscriptenParameters.cmake Fri Jun 12 17:37:11 2020 +0200 @@ -6,11 +6,11 @@ if (EMSCRIPTEN_TARGET_MODE STREQUAL "wasm") # WebAssembly - set(WASM_FLAGS "${WASM_FLAGS} -s WASM=1 -s FETCH=1") + set(WASM_FLAGS "${WASM_FLAGS} -s WASM=1") elseif (EMSCRIPTEN_TARGET_MODE STREQUAL "asm.js") # asm.js targeting IE 11 - set(WASM_FLAGS "-s WASM=0 -s ASM_JS=2 -s FETCH=1 -s LEGACY_VM_SUPPORT=1") + set(WASM_FLAGS "-s WASM=0 -s ASM_JS=2 -s LEGACY_VM_SUPPORT=1") else() message(FATAL_ERROR "Bad value for EMSCRIPTEN_TARGET_MODE: ${EMSCRIPTEN_TARGET_MODE}")