The adding of XML library and DCMTK libraries is reversed in the cmake file.

Issue #386 resolved
Paolo Brandoli repo owner created an issue

In the dicomheroCore6/CMakeLists.txt, the following

  if(${DCMTK_FOUND})
      target_link_libraries(dicomheroTests LibXml2::LibXml2)
  endif()

  if(${LibXml2_FOUND})
    target_link_libraries(dicomheroTests dcmdata dcmimage)
  endif()

Should be replaced by:

  if(${DCMTK_FOUND})
      target_link_libraries(dicomheroTests dcmdata dcmimage)
  endif()

  if(${LibXml2_FOUND})
      target_link_libraries(dicomheroTests LibXml2::LibXml2)
  endif()

Comments (3)

  1. Log in to comment