Mercurial > hg > orthanc-transfers
comparison Resources/Orthanc/CMake/DownloadOrthancFramework.cmake @ 31:cfeda58d0c8e
remove calls to deprecated classes of JsonCpp
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Dec 2020 08:31:22 +0100 |
parents | 3abebab5d004 |
children | 3bd0ec7c5a7c |
comparison
equal
deleted
inserted
replaced
30:3abebab5d004 | 31:cfeda58d0c8e |
---|---|
116 set(ORTHANC_FRAMEWORK_MD5 "3f1ba9502ec7c5449971d3b56087bcde") | 116 set(ORTHANC_FRAMEWORK_MD5 "3f1ba9502ec7c5449971d3b56087bcde") |
117 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.7.4") | 117 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.7.4") |
118 set(ORTHANC_FRAMEWORK_MD5 "19fcb7c21876af86546baa048a22c6c0") | 118 set(ORTHANC_FRAMEWORK_MD5 "19fcb7c21876af86546baa048a22c6c0") |
119 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.8.0") | 119 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.8.0") |
120 set(ORTHANC_FRAMEWORK_MD5 "f8ec7554ef5d23ea4ce474b1e8214de9") | 120 set(ORTHANC_FRAMEWORK_MD5 "f8ec7554ef5d23ea4ce474b1e8214de9") |
121 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.8.1") | |
122 set(ORTHANC_FRAMEWORK_MD5 "db094f96399cbe8b9bbdbce34884c220") | |
123 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.8.2") | |
124 set(ORTHANC_FRAMEWORK_MD5 "8bfa10e66c9931e74111be0bfb1f4548") | |
121 | 125 |
122 # Below this point are development snapshots that were used to | 126 # Below this point are development snapshots that were used to |
123 # release some plugin, before an official release of the Orthanc | 127 # release some plugin, before an official release of the Orthanc |
124 # framework was available. Here is the command to be used to | 128 # framework was available. Here is the command to be used to |
125 # generate a proper archive: | 129 # generate a proper archive: |
127 # $ hg archive /tmp/Orthanc-`hg id -i | sed 's/\+//'`.tar.gz | 131 # $ hg archive /tmp/Orthanc-`hg id -i | sed 's/\+//'`.tar.gz |
128 # | 132 # |
129 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "ae0e3fd609df") | 133 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "ae0e3fd609df") |
130 # DICOMweb 1.1 (framework pre-1.6.0) | 134 # DICOMweb 1.1 (framework pre-1.6.0) |
131 set(ORTHANC_FRAMEWORK_MD5 "7e09e9b530a2f527854f0b782d7e0645") | 135 set(ORTHANC_FRAMEWORK_MD5 "7e09e9b530a2f527854f0b782d7e0645") |
136 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "82652c5fc04f") | |
137 # Stone Web viewer 1.0 (framework pre-1.8.1) | |
138 set(ORTHANC_FRAMEWORK_MD5 "d77331d68917e66a3f4f9b807bbdab7f") | |
139 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "4a3ba4bf4ba7") | |
140 # PostgreSQL 3.3 (framework pre-1.8.2) | |
141 set(ORTHANC_FRAMEWORK_MD5 "2d82bddf06f9cfe82095495cb3b8abde") | |
132 endif() | 142 endif() |
133 endif() | 143 endif() |
134 endif() | 144 endif() |
135 | 145 |
136 elseif (ORTHANC_FRAMEWORK_SOURCE STREQUAL "path") | 146 elseif (ORTHANC_FRAMEWORK_SOURCE STREQUAL "path") |
522 if (ENABLE_DCMTK) | 532 if (ENABLE_DCMTK) |
523 include(FindDCMTK) | 533 include(FindDCMTK) |
524 include_directories(${DCMTK_INCLUDE_DIRS}) | 534 include_directories(${DCMTK_INCLUDE_DIRS}) |
525 link_libraries(${DCMTK_LIBRARIES}) | 535 link_libraries(${DCMTK_LIBRARIES}) |
526 endif() | 536 endif() |
537 | |
538 # Optional component - OpenSSL | |
539 if (ENABLE_SSL) | |
540 include(FindOpenSSL) | |
541 if (NOT ${OPENSSL_FOUND}) | |
542 message(FATAL_ERROR "Unable to find OpenSSL") | |
543 endif() | |
544 include_directories(${OPENSSL_INCLUDE_DIR}) | |
545 link_libraries(${OPENSSL_LIBRARIES}) | |
546 endif() | |
527 endif() | 547 endif() |
528 | 548 |
529 # Look for Orthanc framework shared library | 549 # Look for Orthanc framework shared library |
530 include(CheckCXXSymbolExists) | 550 include(CheckCXXSymbolExists) |
531 | 551 |