Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/DcmtkConfiguration.cmake @ 4430:f5d44e30b429
testing DICOM TLS in Orthanc SCP
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Jan 2021 12:42:45 +0100 |
parents | 48ff722fad1f |
children | b7f27b116685 |
comparison
equal
deleted
inserted
replaced
4429:48ff722fad1f | 4430:f5d44e30b429 |
---|---|
153 endif() | 153 endif() |
154 | 154 |
155 if (HAVE_SSL_CTX_GET0_PARAM) | 155 if (HAVE_SSL_CTX_GET0_PARAM) |
156 message("Have SSL_CTX_get0_param(): yes") | 156 message("Have SSL_CTX_get0_param(): yes") |
157 set_source_files_properties(${DCMTK_SOURCES} | 157 set_source_files_properties(${DCMTK_SOURCES} |
158 PROPERTIES COMPILE_DEFINITIONS "WITH_OPENSSL;HAVE_SSL_CTX_GET0_PARAM") | 158 PROPERTIES COMPILE_DEFINITIONS "HAVE_SSL_CTX_GET0_PARAM") |
159 else() | 159 else() |
160 message("Have SSL_CTX_get0_param(): no") | 160 message("Have SSL_CTX_get0_param(): no") |
161 set_source_files_properties(${DCMTK_SOURCES} | 161 endif() |
162 PROPERTIES COMPILE_DEFINITIONS "WITH_OPENSSL") | 162 |
163 endif() | 163 add_definitions(-DWITH_OPENSSL=1) |
164 endif() | 164 endif() |
165 | 165 |
166 | 166 |
167 # This fixes crashes related to the destruction of the DCMTK OFLogger | 167 # This fixes crashes related to the destruction of the DCMTK OFLogger |
168 # http://support.dcmtk.org/docs-snapshot/file_macros.html | 168 # http://support.dcmtk.org/docs-snapshot/file_macros.html |