comparison Applications/Platforms/WebAssembly/SharedLibrary/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 621e4e11783d
children 9ac2a65d4172
comparison
equal deleted inserted replaced
1655:092af2150f67 1656:4cdc297be5a6
40 # Configuration of the Emscripten compiler for WebAssembly target 40 # Configuration of the Emscripten compiler for WebAssembly target
41 # --------------------------------------------------------------- 41 # ---------------------------------------------------------------
42 42
43 set(USE_WASM ON CACHE BOOL "") 43 set(USE_WASM ON CACHE BOOL "")
44 44
45 set(EMSCRIPTEN_SET_LLVM_WASM_BACKEND ON CACHE BOOL "")
46
47 set(WASM_FLAGS "${WASM_FLAGS} -s WASM=1 -s FETCH=1") 45 set(WASM_FLAGS "${WASM_FLAGS} -s WASM=1 -s FETCH=1")
48 if (CMAKE_BUILD_TYPE STREQUAL "Debug") 46 if (CMAKE_BUILD_TYPE STREQUAL "Debug")
49 set(WASM_FLAGS "${WASM_FLAGS} -s SAFE_HEAP=1") 47 set(WASM_FLAGS "${WASM_FLAGS} -s SAFE_HEAP=1")
50 endif() 48 endif()
51 49