changeset 4429:48ff722fad1f

don't compile TLS if DCMTK networking is disabled
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 02 Jan 2021 14:53:24 +0100
parents a9a596ed988d
children f5d44e30b429
files OrthancFramework/Resources/CMake/DcmtkConfiguration.cmake
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/DcmtkConfiguration.cmake	Thu Dec 31 16:42:46 2020 +0100
+++ b/OrthancFramework/Resources/CMake/DcmtkConfiguration.cmake	Sat Jan 02 14:53:24 2021 +0100
@@ -133,7 +133,7 @@
 
 
   # New in Orthanc 1.9.0 for DICOM TLS
-  if (ENABLE_SSL)
+  if (ENABLE_DCMTK_NETWORKING AND ENABLE_SSL)
     # Must be the last command to add files to ${DCMTK_SOURCES},
     # because of "PROPERTIES COMPILE_DEFINITIONS"
     AUX_SOURCE_DIRECTORY(${DCMTK_SOURCES_DIR}/dcmtls/libsrc DCMTK_SOURCES)