MantisBT - CMake
View Issue Details
0015432CMakeCMakepublic2015-03-06 08:012016-06-10 14:31
Sascha Kratky 
Kitware Robot 
normalmajoralways
closedmoved 
LinuxUbuntu12.04
CMake 3.1.3 
 
0015432: FindHDF5 HDF5_USE_STATIC_LIBRARIES should only apply to HD5 specific libraries
When HDF5_USE_STATIC_LIBRARIES is set to ON, i.e.:

    set (HDF5_USE_STATIC_LIBRARIES ON)
    find_package (HDF5)

the module also links system libraries like libm, librt, libdl and libpthread statically. This does not work for shared libraries under Linux. The HDF5_USE_STATIC_LIBRARIES should only affect the linking of HDF5 related libraries libhdf5, libhdf5_hl libhdf5_cpp.a.
No tags attached.
Issue History
2015-03-06 08:01Sascha KratkyNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042726
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042726)
Kitware Robot   
2016-06-10 14:29   
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.