The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=13434 ====================================================================== Reported By: Julien Bigot Assigned To: ====================================================================== Project: CMake Issue ID: 13434 Category: CMake Reproducibility: sometimes Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-07-24 05:28 EDT Last Modified: 2012-07-24 05:28 EDT ====================================================================== Summary: FindHDF5 does not look up for libraries in the compiler default directories resulting in missing libraries Description: When generating HDF5_${LANGUAGE}_LIBRARY_DIRS, the directories where it looks for libraries, FindHDF5 only adds explicitely specified directories. Some libraries are not in these directories, but rather in the compiler default directories. FindMPI solves this by appending ${CMAKE_${LANGUAGE}_IMPLICIT_LINK_DIRECTORIES} to the list of looked for directories.
Additional Information: The attached patch mimics the FindMPI behaviour that solves the problem ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-07-24 05:28 Julien Bigot New Issue 2012-07-24 05:28 Julien Bigot File Added: FindHDF5.cmake.patch ====================================================================== -- 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
