comparison Resources/CMake/DcmtkConfiguration.cmake @ 3316:4b1017928fc4

Fix performance issue in DICOM protocol by disabling Nagle's algorithm
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 28 Feb 2019 18:21:28 +0100
parents dd10fe965870
children e1904cfdca2c
comparison
equal deleted inserted replaced
3315:8bf33fa68435 3316:4b1017928fc4
85 # http://support.dcmtk.org/docs-snapshot/file_macros.html 85 # http://support.dcmtk.org/docs-snapshot/file_macros.html
86 add_definitions( 86 add_definitions(
87 -DLOG4CPLUS_DISABLE_FATAL=1 87 -DLOG4CPLUS_DISABLE_FATAL=1
88 -DDCMTK_VERSION_NUMBER=${DCMTK_VERSION_NUMBER} 88 -DDCMTK_VERSION_NUMBER=${DCMTK_VERSION_NUMBER}
89 ) 89 )
90
90 91
91 if (NOT ENABLE_DCMTK_LOG) 92 if (NOT ENABLE_DCMTK_LOG)
92 # Disable logging internal to DCMTK 93 # Disable logging internal to DCMTK
93 # https://groups.google.com/d/msg/orthanc-users/v2SzzAmY948/VxT1QVGiBAAJ 94 # https://groups.google.com/d/msg/orthanc-users/v2SzzAmY948/VxT1QVGiBAAJ
94 add_definitions( 95 add_definitions(