comparison Applications/StoneWebViewer/WebAssembly/StoneModule/CMakeLists.txt @ 1656:4cdc297be5a6

removed EMSCRIPTEN_SET_LLVM_WASM_BACKEND option for CMake
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Nov 2020 11:18:53 +0100
parents 8c5f9864545f
children 9ac2a65d4172
comparison
equal deleted inserted replaced
1655:092af2150f67 1656:4cdc297be5a6
37 37
38 38
39 # Configuration of the Emscripten compiler for WebAssembly target 39 # Configuration of the Emscripten compiler for WebAssembly target
40 # --------------------------------------------------------------- 40 # ---------------------------------------------------------------
41 set(USE_WASM ON CACHE BOOL "") 41 set(USE_WASM ON CACHE BOOL "")
42
43 set(EMSCRIPTEN_SET_LLVM_WASM_BACKEND ON CACHE BOOL "")
44 42
45 set(WASM_FLAGS "${WASM_FLAGS} -s WASM=1 -s FETCH=1") 43 set(WASM_FLAGS "${WASM_FLAGS} -s WASM=1 -s FETCH=1")
46 if (CMAKE_BUILD_TYPE STREQUAL "Debug") 44 if (CMAKE_BUILD_TYPE STREQUAL "Debug")
47 set(WASM_FLAGS "${WASM_FLAGS} -s SAFE_HEAP=1") 45 set(WASM_FLAGS "${WASM_FLAGS} -s SAFE_HEAP=1")
48 endif() 46 endif()