View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013434CMakeCMakepublic2012-07-24 05:282016-06-10 14:31
ReporterJulien Bigot 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilitysometimes
StatusclosedResolutionmoved 
PlatformBluegeneOSOS Version
Product VersionCMake 2.8.8 
Target VersionFixed in Version 
Summary0013434: FindHDF5 does not look up for libraries in the compiler default directories resulting in missing libraries
DescriptionWhen 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 InformationThe attached patch mimics the FindMPI behaviour that solves the problem
TagsNo tags attached.
Attached Filespatch file icon FindHDF5.cmake.patch [^] (605 bytes) 2012-07-24 05:28 [Show Content]

 Relationships

  Notes
(0034797)
Sean Patrick Santos (reporter)
2013-12-18 13:58

I have encountered this problem on a BlueGene as well. Seems like the fix is relatively harmless to me? It might not be as important when using C compilers to link, but this was causing a problem for me with a Fortran compiler due to issue 0014647.
(0042095)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 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
2013-12-18 13:58 Sean Patrick Santos Note Added: 0034797
2016-06-10 14:28 Kitware Robot Note Added: 0042095
2016-06-10 14:28 Kitware Robot Status new => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team