Adopted CMake's FindDCMTK.cmake variables

This commit is contained in:
Robert Osfield 2019-12-23 14:53:17 +00:00
parent c50b699992
commit 7e8665308d

View File

@ -1,11 +1,11 @@
IF (DCMTK_FOUND)
# note, we have to include a '/' in front of the directory string to prevent a CMake bug from ignoring the directory
INCLUDE_DIRECTORIES(${DCMTK_ROOT_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${DCMTK_INCLUDE_DIRS})
SET(TARGET_SRC ReaderWriterDICOM.cpp )
LINK_LIBRARIES(${DCMTK_LIBRARIES} ${ZLIB_LIBRARIES})
LINK_LIBRARIES(${DCMTK_LIBRARIES})
ADD_DEFINITIONS(-DUSE_DCMTK)