diff Resources/CMake/DcmtkConfiguration.cmake @ 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 ae50eccd41b7
children 96b3ec054b69
line wrap: on
line diff
--- 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()