mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Update CMakeLists.txt (#665)
Introduce USE_EMSCRIPTEN_NO_WASM flag to build emulator without wasm dependencies.
This commit is contained in:
parent
8eb167b76a
commit
35889fa5f5
1 changed files with 3 additions and 0 deletions
|
@ -51,5 +51,8 @@ if (USE_EMSCRIPTEN)
|
|||
target_link_options(emulator-emscripten PRIVATE -sENVIRONMENT=web)
|
||||
target_link_options(emulator-emscripten PRIVATE -sFILESYSTEM=0)
|
||||
target_link_options(emulator-emscripten PRIVATE -fexceptions)
|
||||
if (USE_EMSCRIPTEN_NO_WASM)
|
||||
target_link_options(emulator-emscripten PRIVATE -sWASM=0)
|
||||
endif()
|
||||
target_compile_options(emulator-emscripten PRIVATE -fexceptions)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue