diff --git a/javascript/CMakeLists.txt b/javascript/CMakeLists.txt index 15ea1e94..3feeb548 100644 --- a/javascript/CMakeLists.txt +++ b/javascript/CMakeLists.txt @@ -64,9 +64,11 @@ target_link_options(asmjs-async PUBLIC add_executable(wasm-sync $) target_link_options(wasm-sync PUBLIC "SHELL:-s WASM=1" + "SHELL:-s SINGLE_FILE=1" "SHELL:-s WASM_ASYNC_COMPILATION=0") add_executable(wasm-async $) target_link_options(wasm-async PUBLIC "SHELL:-s WASM=1" + "SHELL:-s SINGLE_FILE=1" "SHELL:-s WASM_ASYNC_COMPILATION=1")