diff --git a/wasm/src/CMakeLists.txt b/wasm/src/CMakeLists.txt index 0f72b4928..390e2645c 100644 --- a/wasm/src/CMakeLists.txt +++ b/wasm/src/CMakeLists.txt @@ -39,7 +39,7 @@ IF (ASMJS) set(CMAKE_EXECUTABLE_SUFFIX ".js") set(EMC_PROPS "${EMC_PROPS} -s FINALIZE_ASM_JS=1 -s SEPARATE_ASM=1 -s WASM=0 -s ASM_JS=1 ") else(ASMJS) - set(EMC_PROPS "${EMC_PROPS} WASM=1") + set(EMC_PROPS "${EMC_PROPS} -s WASM=1") endif(ASMJS)