[cmake-developers] [CMake 0015909]: FindDCMTK.cmake outdated

Mantis Bug Tracker mantis at public.kitware.com
Mon Jan 11 16:07:26 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15909 
====================================================================== 
Reported By:                dkuegler
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15909
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-01-11 16:07 EST
Last Modified:              2016-01-11 16:07 EST
====================================================================== 
Summary:                    FindDCMTK.cmake outdated
Description: 
The FindDCMTK in CMake is very outdated. It produces errors and all the
libraries and paths have to be set up manually.

The script straight up, does not find DCMTK, even if specifically pointed to the
right path with DCMTK_DIR.

But there is a up-to-date buildscript, that works properly in the CTK toolkit:
https://github.com/commontk/CTK/blob/master/Utilities/CMake/FindDCMTK.cmake

So I would propose to use that file.

Steps to Reproduce: 
install DCMTK
build DCMTK

create a CMakeLists.txt with
set(DCMTK path/to/dcmtk/build/folder)
find_package(DCMTK)

Additional Information: 
tested with Windows 8.1, CMake 3.3, 3.4
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-01-11 16:07 dkuegler       New Issue                                    
======================================================================



More information about the cmake-developers mailing list