comparison Applications/Samples/WebAssembly/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 0d4b11ba86df
children 1e6d3289b1ad
comparison
equal deleted inserted replaced
1655:092af2150f67 1656:4cdc297be5a6
26 26
27 27
28 # Configuration of the Emscripten compiler for WebAssembly target 28 # Configuration of the Emscripten compiler for WebAssembly target
29 # --------------------------------------------------------------- 29 # ---------------------------------------------------------------
30 set(USE_WASM ON CACHE BOOL "") 30 set(USE_WASM ON CACHE BOOL "")
31
32 set(EMSCRIPTEN_SET_LLVM_WASM_BACKEND ON CACHE BOOL "")
33 31
34 set(WASM_FLAGS "-s WASM=1 -s FETCH=1") 32 set(WASM_FLAGS "-s WASM=1 -s FETCH=1")
35 if (CMAKE_BUILD_TYPE STREQUAL "Debug") 33 if (CMAKE_BUILD_TYPE STREQUAL "Debug")
36 set(WASM_FLAGS "${WASM_FLAGS} -s SAFE_HEAP=1") 34 set(WASM_FLAGS "${WASM_FLAGS} -s SAFE_HEAP=1")
37 endif() 35 endif()