Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/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 | 7947565ed2b7 |
comparison
equal
deleted
inserted
replaced
1901:184b0aeae1af | 1902:1cfd602de69d |
---|---|
47 | 47 |
48 # Stone of Orthanc configuration | 48 # Stone of Orthanc configuration |
49 # --------------------------------------------------------------- | 49 # --------------------------------------------------------------- |
50 set(ALLOW_DOWNLOADS ON) | 50 set(ALLOW_DOWNLOADS ON) |
51 | 51 |
52 include(${CMAKE_SOURCE_DIR}/../../Platforms/WebAssembly/OrthancStoneWebAssemblyParameters.cmake) | 52 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/Resources/CMake/OrthancStoneWebAssemblyParameters.cmake) |
53 | 53 |
54 SET(ENABLE_DCMTK ON) | 54 SET(ENABLE_DCMTK ON) |
55 SET(ENABLE_DCMTK_NETWORKING OFF) | 55 SET(ENABLE_DCMTK_NETWORKING OFF) |
56 SET(ENABLE_DCMTK_TRANSCODING OFF) | 56 SET(ENABLE_DCMTK_TRANSCODING OFF) |
57 SET(ENABLE_GOOGLE_TEST OFF) | 57 SET(ENABLE_GOOGLE_TEST OFF) |
59 SET(ENABLE_PUGIXML ON) # Necessary for OsiriX annotations | 59 SET(ENABLE_PUGIXML ON) # Necessary for OsiriX annotations |
60 SET(ORTHANC_SANDBOXED ON) | 60 SET(ORTHANC_SANDBOXED ON) |
61 | 61 |
62 # this will set up the build system for Stone of Orthanc and will | 62 # this will set up the build system for Stone of Orthanc and will |
63 # populate the ORTHANC_STONE_SOURCES CMake variable | 63 # populate the ORTHANC_STONE_SOURCES CMake variable |
64 include(${CMAKE_SOURCE_DIR}/../../Platforms/WebAssembly/OrthancStoneWebAssemblyConfiguration.cmake) | 64 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/Resources/CMake/OrthancStoneWebAssemblyConfiguration.cmake) |
65 | |
66 include_directories( | |
67 ${CMAKE_SOURCE_DIR}/../../../OrthancStone/Sources/ | |
68 ${CMAKE_SOURCE_DIR}/../../Platforms/WebAssembly/ | |
69 ) | |
70 | 65 |
71 if (CMAKE_BUILD_TYPE MATCHES Debug) | 66 if (CMAKE_BUILD_TYPE MATCHES Debug) |
72 # specific flags go here | 67 # specific flags go here |
73 elseif (CMAKE_BUILD_TYPE MATCHES RelWithDebInfo) | 68 elseif (CMAKE_BUILD_TYPE MATCHES RelWithDebInfo) |
74 # specific flags go here | 69 # specific flags go here |