Mercurial > hg > orthanc-stone
comparison Applications/Samples/WebAssembly/CMakeLists.txt @ 1902:1cfd602de69d
fix wasm build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 29 Jan 2022 18:30:26 +0100 |
parents | 7053b8a0aaec |
children | c73e696967b0 |
comparison
equal
deleted
inserted
replaced
1901:184b0aeae1af | 1902:1cfd602de69d |
---|---|
56 | 56 |
57 # Stone of Orthanc configuration | 57 # Stone of Orthanc configuration |
58 # --------------------------------------------------------------- | 58 # --------------------------------------------------------------- |
59 set(ALLOW_DOWNLOADS ON) | 59 set(ALLOW_DOWNLOADS ON) |
60 | 60 |
61 include(${CMAKE_SOURCE_DIR}/../../Platforms/WebAssembly/OrthancStoneWebAssemblyParameters.cmake) | 61 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/Resources/CMake/OrthancStoneWebAssemblyParameters.cmake) |
62 | 62 |
63 SET(ENABLE_DCMTK OFF) # Not necessary | 63 SET(ENABLE_DCMTK OFF) # Not necessary |
64 SET(ENABLE_GOOGLE_TEST OFF) | 64 SET(ENABLE_GOOGLE_TEST OFF) |
65 SET(ENABLE_LOCALE ON) # Necessary for text rendering | 65 SET(ENABLE_LOCALE ON) # Necessary for text rendering |
66 SET(ORTHANC_SANDBOXED ON) | 66 SET(ORTHANC_SANDBOXED ON) |
67 | 67 |
68 # this will set up the build system for Stone of Orthanc and will | 68 # this will set up the build system for Stone of Orthanc and will |
69 # populate the ORTHANC_STONE_SOURCES CMake variable | 69 # populate the ORTHANC_STONE_SOURCES CMake variable |
70 include(${CMAKE_SOURCE_DIR}/../../Platforms/WebAssembly/OrthancStoneWebAssemblyConfiguration.cmake) | 70 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/Resources/CMake/OrthancStoneWebAssemblyConfiguration.cmake) |
71 | 71 |
72 | 72 |
73 # We embed a font to be used for on-screen overlays | 73 # We embed a font to be used for on-screen overlays |
74 # --------------------------------------------------------------- | 74 # --------------------------------------------------------------- |
75 | 75 |