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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers