Adopted CMake's FindDCMTK.cmake variables
This commit is contained in:
parent
c50b699992
commit
7e8665308d
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user