comparison Resources/Orthanc/CMake/DownloadOrthancFramework.cmake @ 292:aadbffcee805

remove calls to deprecated classes of JsonCpp
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Dec 2020 09:03:24 +0100
parents 4b80ddccec54
children e376158e2dbb
comparison
equal deleted inserted replaced
291:0cd081608fd3 292:aadbffcee805
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") 121 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.8.1")
122 set(ORTHANC_FRAMEWORK_MD5 "db094f96399cbe8b9bbdbce34884c220") 122 set(ORTHANC_FRAMEWORK_MD5 "db094f96399cbe8b9bbdbce34884c220")
123 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.8.2")
124 set(ORTHANC_FRAMEWORK_MD5 "8bfa10e66c9931e74111be0bfb1f4548")
123 125
124 # Below this point are development snapshots that were used to 126 # Below this point are development snapshots that were used to
125 # release some plugin, before an official release of the Orthanc 127 # release some plugin, before an official release of the Orthanc
126 # framework was available. Here is the command to be used to 128 # framework was available. Here is the command to be used to
127 # generate a proper archive: 129 # generate a proper archive:
132 # DICOMweb 1.1 (framework pre-1.6.0) 134 # DICOMweb 1.1 (framework pre-1.6.0)
133 set(ORTHANC_FRAMEWORK_MD5 "7e09e9b530a2f527854f0b782d7e0645") 135 set(ORTHANC_FRAMEWORK_MD5 "7e09e9b530a2f527854f0b782d7e0645")
134 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "82652c5fc04f") 136 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "82652c5fc04f")
135 # Stone Web viewer 1.0 (framework pre-1.8.1) 137 # Stone Web viewer 1.0 (framework pre-1.8.1)
136 set(ORTHANC_FRAMEWORK_MD5 "d77331d68917e66a3f4f9b807bbdab7f") 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")
137 endif() 142 endif()
138 endif() 143 endif()
139 endif() 144 endif()
140 145
141 elseif (ORTHANC_FRAMEWORK_SOURCE STREQUAL "path") 146 elseif (ORTHANC_FRAMEWORK_SOURCE STREQUAL "path")
527 if (ENABLE_DCMTK) 532 if (ENABLE_DCMTK)
528 include(FindDCMTK) 533 include(FindDCMTK)
529 include_directories(${DCMTK_INCLUDE_DIRS}) 534 include_directories(${DCMTK_INCLUDE_DIRS})
530 link_libraries(${DCMTK_LIBRARIES}) 535 link_libraries(${DCMTK_LIBRARIES})
531 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()
532 endif() 547 endif()
533 548
534 # Look for Orthanc framework shared library 549 # Look for Orthanc framework shared library
535 include(CheckCXXSymbolExists) 550 include(CheckCXXSymbolExists)
536 551