comparison 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
comparison
equal deleted inserted replaced
2375:3ec85ff48374 2376:c33ff8a7ffa9
24 macro(DCMTK_UNSET_CACHE) 24 macro(DCMTK_UNSET_CACHE)
25 endmacro() 25 endmacro()
26 26
27 set(DCMTK_BINARY_DIR ${DCMTK_SOURCES_DIR}/) 27 set(DCMTK_BINARY_DIR ${DCMTK_SOURCES_DIR}/)
28 set(DCMTK_CMAKE_INCLUDE ${DCMTK_SOURCES_DIR}/) 28 set(DCMTK_CMAKE_INCLUDE ${DCMTK_SOURCES_DIR}/)
29 set(DCMTK_WITH_THREADS ON)
30
29 add_definitions(-DDCMTK_INSIDE_LOG4CPLUS=1) 31 add_definitions(-DDCMTK_INSIDE_LOG4CPLUS=1)
30 endif() 32 endif()
31 33
32 if (IS_DIRECTORY "${DCMTK_SOURCES_DIR}") 34 if (IS_DIRECTORY "${DCMTK_SOURCES_DIR}")
33 set(FirstRun OFF) 35 set(FirstRun OFF)