Mercurial > hg > orthanc
comparison OrthancFramework/SharedLibrary/CMakeLists.txt @ 4071:d6b7fb0f9652 framework
improved DownloadOrthancFramework.cmake
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 15 Jun 2020 12:26:45 +0200 |
parents | 3d7afb01dc14 |
children | 1c89208fbba9 |
comparison
equal
deleted
inserted
replaced
4070:f1e82dd6acb1 | 4071:d6b7fb0f9652 |
---|---|
50 | 50 |
51 if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten") | 51 if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten") |
52 # WebAssembly or asm.js | 52 # WebAssembly or asm.js |
53 set(BOOST_LOCALE_BACKEND "libiconv") | 53 set(BOOST_LOCALE_BACKEND "libiconv") |
54 set(ORTHANC_SANDBOXED ON) | 54 set(ORTHANC_SANDBOXED ON) |
55 set(STANDALONE_BUILD ON) | |
55 | 56 |
56 # Will be used by "../Resources/CMake/EmscriptenParameters.cmake" | 57 # Will be used by "../Resources/CMake/EmscriptenParameters.cmake" |
57 set(WASM_FLAGS "-s SIDE_MODULE=1 -s EXPORT_ALL=1") | 58 set(WASM_FLAGS "-s SIDE_MODULE=1 -s EXPORT_ALL=1") |
58 | 59 |
59 else() | 60 else() |