[cmake-developers] [CMake 0012510]: FindDCMTK does not find MacPorts dcmtk properly

Mantis Bug Tracker mantis at public.kitware.com
Mon Oct 10 17:42:54 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12510 
====================================================================== 
Reported By:                Torsten Rohlfing
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12510
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-10-10 17:42 EDT
Last Modified:              2011-10-10 17:42 EDT
====================================================================== 
Summary:                    FindDCMTK does not find MacPorts dcmtk properly
Description: 
On MacOS X with MacPorts DCMTK library installed under /opt/local, FindDCMTK()
in cmake 2.8.5 finds DCMTK libraries but not headers.

Steps to Reproduce: 
Configure the following CMake project:

## BEGIN
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(SomeToolkit)

FIND_PACKAGE(DCMTK)
## END

Cmake reports:

-- Could NOT find DCMTK (missing:  DCMTK_config_INCLUDE_DIR
DCMTK_ofstd_INCLUDE_DIR DCMTK_dcmdata_INCLUDE_DIR DCMTK_dcmimgle_INCLUDE_DIR) 

Also curious:

"DCMTK_DIR" is set to "/usr/include/dcmtk", which does not exist; moreover,
there is no trace of dcmtk anywhere in the /usr tree.

I am attaching complete CMakeCache.txt file for references.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-10-10 17:42 Torsten RohlfingNew Issue                                    
2011-10-10 17:42 Torsten RohlfingFile Added: CMakeCache.txt                    
======================================================================



More information about the cmake-developers mailing list