Skip to content
Snippets Groups Projects
Commit 76b621c0 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

New hdf5 version generates static library with different name. Fix it.

parent f1d6aba3
No related branches found
No related tags found
No related merge requests found
......@@ -236,12 +236,12 @@ endif()
if(HDF5_STATIC_HOME)
SET(HDF5_INCLUDE_DIRS "${HDF5_STATIC_HOME}/include")
find_library(HDF5_LIBRARY
NAME libhdf5-static.a
NAMES libhdf5-static.a libhdf5.a
PATHS ${HDF5_STATIC_HOME}/lib ${HDF5_STATIC_HOME}/lib64
NO_DEFAULT_PATH
)
find_library(HDF5_HL_LIBRARY
NAME libhdf5_hl-static.a
NAMES libhdf5_hl-static.a libhdf5_hl.a
PATHS ${HDF5_STATIC_HOME}/lib ${HDF5_STATIC_HOME}/lib64
NO_DEFAULT_PATH
)
......
3.1.1-29-g7143a53
\ No newline at end of file
3.1.1
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment