--- src/osgPlugins/dicom/CMakeLists.txt.orig 2020-01-31 11:03:07 UTC +++ src/osgPlugins/dicom/CMakeLists.txt @@ -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_INCLUDE_DIRS}) + #INCLUDE_DIRECTORIES(${DCMTK_INCLUDE_DIRS}) SET(TARGET_SRC ReaderWriterDICOM.cpp ) - LINK_LIBRARIES(${DCMTK_LIBRARIES}) + LINK_LIBRARIES(DCMTK::DCMTK) ADD_DEFINITIONS(-DUSE_DCMTK)