changeset 2376:c33ff8a7ffa9

Fix static compilation of DCMTK 3.6.2 on Fedora
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 26 Aug 2017 12:18:45 +0200
parents 3ec85ff48374
children 32bea64e070b
files NEWS Resources/CMake/DcmtkConfiguration.cmake
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Fri Aug 25 16:45:08 2017 +0200
+++ b/NEWS	Sat Aug 26 12:18:45 2017 +0200
@@ -3,6 +3,7 @@
 
 * New security-related options: "DicomAlwaysAllowEcho"
 * Fix issue 64 (OpenBSD support)
+* Fix static compilation of DCMTK 3.6.2 on Fedora
 
 
 Version 1.3.0 (2017-07-19)
--- a/Resources/CMake/DcmtkConfiguration.cmake	Fri Aug 25 16:45:08 2017 +0200
+++ b/Resources/CMake/DcmtkConfiguration.cmake	Sat Aug 26 12:18:45 2017 +0200
@@ -26,6 +26,8 @@
 
     set(DCMTK_BINARY_DIR ${DCMTK_SOURCES_DIR}/)
     set(DCMTK_CMAKE_INCLUDE ${DCMTK_SOURCES_DIR}/)
+    set(DCMTK_WITH_THREADS ON)
+    
     add_definitions(-DDCMTK_INSIDE_LOG4CPLUS=1)
   endif()