comparison Applications/StoneWebViewer/WebAssembly/CMakeLists.txt @ 2115:de049fd88697 deep-learning

integration mainline->deep-learning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Jan 2024 16:44:40 +0100
parents a6d5373e471c c23eef785569
children 2e050ec85379
comparison
equal deleted inserted replaced
2106:5144d59d0fb2 2115:de049fd88697
1 # Stone of Orthanc 1 # Stone of Orthanc
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics 2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
3 # Department, University Hospital of Liege, Belgium 3 # Department, University Hospital of Liege, Belgium
4 # Copyright (C) 2017-2023 Osimis S.A., Belgium 4 # Copyright (C) 2017-2024 Osimis S.A., Belgium
5 # Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium 5 # Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
6 # 6 #
7 # This program is free software: you can redistribute it and/or 7 # This program is free software: you can redistribute it and/or
8 # modify it under the terms of the GNU Affero General Public License 8 # modify it under the terms of the GNU Affero General Public License
9 # as published by the Free Software Foundation, either version 3 of 9 # as published by the Free Software Foundation, either version 3 of
10 # the License, or (at your option) any later version. 10 # the License, or (at your option) any later version.
84 # We embed a font to be used for on-screen overlays 84 # We embed a font to be used for on-screen overlays
85 # --------------------------------------------------------------- 85 # ---------------------------------------------------------------
86 86
87 DownloadPackage( 87 DownloadPackage(
88 "a24b8136b8f3bb93f166baf97d9328de" 88 "a24b8136b8f3bb93f166baf97d9328de"
89 "http://orthanc.osimis.io/ThirdPartyDownloads/ubuntu-font-family-0.83.zip" 89 "https://orthanc.uclouvain.be/downloads/third-party-downloads/ubuntu-font-family-0.83.zip"
90 "${CMAKE_BINARY_DIR}/ubuntu-font-family-0.83") 90 "${CMAKE_BINARY_DIR}/ubuntu-font-family-0.83")
91 91
92 EmbedResources( 92 EmbedResources(
93 UBUNTU_FONT ${CMAKE_BINARY_DIR}/ubuntu-font-family-0.83/Ubuntu-R.ttf 93 UBUNTU_FONT ${CMAKE_BINARY_DIR}/ubuntu-font-family-0.83/Ubuntu-R.ttf
94 ) 94 )
155 ) 155 )
156 156
157 # Boost::Math begs for -std=c++14 since Boost 1.82.0 157 # Boost::Math begs for -std=c++14 since Boost 1.82.0
158 set_property(TARGET StoneWebViewer PROPERTY CXX_STANDARD 14) 158 set_property(TARGET StoneWebViewer PROPERTY CXX_STANDARD 14)
159 159
160 DefineSourceBasenameForTarget(StoneWebViewer) 160 if (COMMAND DefineSourceBasenameForTarget)
161 DefineSourceBasenameForTarget(StoneWebViewer)
162 endif()
161 163
162 set_target_properties(StoneWebViewer 164 set_target_properties(StoneWebViewer
163 PROPERTIES 165 PROPERTIES
164 COMPILE_FLAGS "${WASM_FLAGS}" 166 COMPILE_FLAGS "${WASM_FLAGS}"
165 LINK_FLAGS "${WASM_LINKER_FLAGS}" 167 LINK_FLAGS "${WASM_LINKER_FLAGS}"