comparison Applications/StoneWebViewer/WebAssembly/CMakeLists.txt @ 1593:b782f78aed42

rendering osirix annotations
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 23 Oct 2020 17:39:16 +0200
parents 0d4b11ba86df
children fa9e6bf84958
comparison
equal deleted inserted replaced
1592:0d4b11ba86df 1593:b782f78aed42
76 elseif (CMAKE_BUILD_TYPE MATCHES Release) 76 elseif (CMAKE_BUILD_TYPE MATCHES Release)
77 # specific flags go here 77 # specific flags go here
78 else() 78 else()
79 message(FATAL_ERROR "CMAKE_BUILD_TYPE must match either Debug, RelWithDebInfo or Release" ) 79 message(FATAL_ERROR "CMAKE_BUILD_TYPE must match either Debug, RelWithDebInfo or Release" )
80 endif() 80 endif()
81
82
83 # We embed a font to be used for on-screen overlays
84 # ---------------------------------------------------------------
85
86 DownloadPackage(
87 "a24b8136b8f3bb93f166baf97d9328de"
88 "http://orthanc.osimis.io/ThirdPartyDownloads/ubuntu-font-family-0.83.zip"
89 "${CMAKE_BINARY_DIR}/ubuntu-font-family-0.83")
90
91 EmbedResources(
92 UBUNTU_FONT ${CMAKE_BINARY_DIR}/ubuntu-font-family-0.83/Ubuntu-R.ttf
93 )
94
81 95
82 ################################################################################ 96 ################################################################################
83 97
84 98
85 # Create the wrapper to call C++ from JavaScript 99 # Create the wrapper to call C++ from JavaScript