MantisBT - CMake
View Issue Details
0011195CMakeModulespublic2010-09-01 09:482012-01-02 15:56
James Sutherland 
Will Dicharry 
normalmajoralways
closedfixed 
CMake-2-8 
CMake 2.8.5CMake 2.8.5 
0011195: FindHDF5.cmake does not function properly if "hl" libs are not present
In the case where I do not have the "hl" hdf5 libraries installed, CMake fails when finding HDF5. I get the following error message:

---------------------
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
HDF5_hdf5_hl_LIBRARY_DEBUG (ADVANCED)
   linked by target "tabprops" in directory /uufs/chpc.utah.edu/common/home/u0033394/TabProps/tabprops
HDF5_hdf5_hl_LIBRARY_RELEASE (ADVANCED)
   linked by target "tabprops" in directory /uufs/chpc.utah.edu/common/home/u0033394/TabProps/tabprops
---------------------

OS: Linux
CMake version: 2.8.0
HDF5 version: 1.6.3.
No tags attached.
Issue History
2010-09-01 09:48James SutherlandNew Issue
2010-12-15 12:01David ColeAssigned To => Will Dicharry
2010-12-15 12:01David ColeStatusnew => assigned
2011-05-20 16:55Will DicharryNote Added: 0026563
2011-06-15 12:26Will DicharryNote Added: 0026875
2011-06-15 12:26Will DicharryStatusassigned => resolved
2011-06-15 12:26Will DicharryFixed in Version => CMake 2.8.5
2011-06-15 12:26Will DicharryResolutionopen => fixed
2011-07-08 17:56David ColeTarget Version => CMake 2.8.5
2012-01-02 15:56David ColeNote Added: 0028097
2012-01-02 15:56David ColeStatusresolved => closed

Notes
(0026563)
Will Dicharry   
2011-05-20 16:55   
I've checked a fix for this into the stage git repository. The hdf5_hl library is now specified as a COMPONENT in the find module. This allows clients to select the hdf5 library without requiring that hdf5_hl be available.
(0026875)
Will Dicharry   
2011-06-15 12:26   
Fix has made it in to master. Should be in the 2.8.5 release I think.
(0028097)
David Cole   
2012-01-02 15:56   
Closing resolved issues that have not been updated in more than 4 months.