comparison OrthancStone/Resources/Orthanc/CMake/DownloadOrthancFramework.cmake @ 2077:07964689cb0b

upgrade to year 2023
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jul 2023 21:20:22 +0200
parents c0aa4b03f219
children 3ef91da06636
comparison
equal deleted inserted replaced
2076:990f396484b1 2077:07964689cb0b
1 # Orthanc - A Lightweight, RESTful DICOM Store 1 # Orthanc - A Lightweight, RESTful DICOM Store
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-2022 Osimis S.A., Belgium 4 # Copyright (C) 2017-2023 Osimis S.A., Belgium
5 # Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium 5 # Copyright (C) 2021-2023 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 Lesser General Public License 8 # modify it under the terms of the GNU Lesser 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.
150 set(ORTHANC_FRAMEWORK_MD5 "962c4a4a706a2ef28b390d8515dd7091") 150 set(ORTHANC_FRAMEWORK_MD5 "962c4a4a706a2ef28b390d8515dd7091")
151 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.11.1") 151 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.11.1")
152 set(ORTHANC_FRAMEWORK_MD5 "a39661c406adf22cf574fde290cf4bbf") 152 set(ORTHANC_FRAMEWORK_MD5 "a39661c406adf22cf574fde290cf4bbf")
153 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.11.2") 153 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.11.2")
154 set(ORTHANC_FRAMEWORK_MD5 "ede3de356493a8868545f8cb4b8bc8b5") 154 set(ORTHANC_FRAMEWORK_MD5 "ede3de356493a8868545f8cb4b8bc8b5")
155 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.11.3")
156 set(ORTHANC_FRAMEWORK_MD5 "f941c0f5771db7616e7b7961026a60e2")
157 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.12.0")
158 set(ORTHANC_FRAMEWORK_MD5 "d32a0cde03b6eb603d8dd2b33d38bf1b")
159 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.12.1")
160 set(ORTHANC_FRAMEWORK_MD5 "8a435140efc8ff4a01d8242f092f21de")
155 161
156 # Below this point are development snapshots that were used to 162 # Below this point are development snapshots that were used to
157 # release some plugin, before an official release of the Orthanc 163 # release some plugin, before an official release of the Orthanc
158 # framework was available. Here is the command to be used to 164 # framework was available. Here is the command to be used to
159 # generate a proper archive: 165 # generate a proper archive:
309 if (DEFINED ORTHANC_FRAMEWORK_URL) 315 if (DEFINED ORTHANC_FRAMEWORK_URL)
310 string(REGEX REPLACE "^.*/" "" ORTHANC_FRAMEMORK_FILENAME "${ORTHANC_FRAMEWORK_URL}") 316 string(REGEX REPLACE "^.*/" "" ORTHANC_FRAMEMORK_FILENAME "${ORTHANC_FRAMEWORK_URL}")
311 else() 317 else()
312 # Default case: Download from the official Web site 318 # Default case: Download from the official Web site
313 set(ORTHANC_FRAMEMORK_FILENAME Orthanc-${ORTHANC_FRAMEWORK_VERSION}.tar.gz) 319 set(ORTHANC_FRAMEMORK_FILENAME Orthanc-${ORTHANC_FRAMEWORK_VERSION}.tar.gz)
314 set(ORTHANC_FRAMEWORK_URL "http://orthanc.osimis.io/ThirdPartyDownloads/orthanc-framework/${ORTHANC_FRAMEMORK_FILENAME}") 320 set(ORTHANC_FRAMEWORK_URL "https://orthanc.uclouvain.be/third-party-downloads/orthanc-framework/${ORTHANC_FRAMEMORK_FILENAME}")
315 endif() 321 endif()
316 322
317 set(ORTHANC_FRAMEWORK_ARCHIVE "${CMAKE_SOURCE_DIR}/ThirdPartyDownloads/${ORTHANC_FRAMEMORK_FILENAME}") 323 set(ORTHANC_FRAMEWORK_ARCHIVE "${CMAKE_SOURCE_DIR}/ThirdPartyDownloads/${ORTHANC_FRAMEMORK_FILENAME}")
318 324
319 if (NOT EXISTS "${ORTHANC_FRAMEWORK_ARCHIVE}") 325 if (NOT EXISTS "${ORTHANC_FRAMEWORK_ARCHIVE}")