The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15432 ====================================================================== Reported By: Sascha Kratky Assigned To: ====================================================================== Project: CMake Issue ID: 15432 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2015-03-06 08:01 EST Last Modified: 2015-03-06 08:01 EST ====================================================================== Summary: FindHDF5 HDF5_USE_STATIC_LIBRARIES should only apply to HD5 specific libraries Description: 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. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-03-06 08:01 Sascha Kratky New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers