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

A test commit to package hdf5-devel BhallaLab/moose#201.

parent 1cd7d7eb
No related branches found
No related tags found
1 merge request!213Update rmoogli.py
...@@ -219,8 +219,15 @@ endif(NOT HDF5_FOUND) ...@@ -219,8 +219,15 @@ endif(NOT HDF5_FOUND)
if(HDF5_FOUND) if(HDF5_FOUND)
add_definitions( -DUSE_HDF5 ) add_definitions( -DUSE_HDF5 )
# Latest cmake could not find libhdf5_hl.a libraries despite of setting
# USE_HDF5_STATIC_LIBRARIES.
if(USE_HDF5_STATIC_LIBRARIES AND $ENV{HDF5_ROOT})
find_library(HDF5_CXX_LIBRARIES libhdf5.a PATHS $ENV{HDF5_ROOT})
find_library(HDF5_HL_LIBRARIES libhdf5_hl.a PATHS $ENV{HDF5_ROOT})
endif(USE_HDF5_STATIC_LIBRARIES)
include_directories( ${HDF5_INCLUDE_DIRS} ) include_directories( ${HDF5_INCLUDE_DIRS} )
foreach(HDF5_LIB ${HDF5_LIBRARIES} ) foreach(HDF5_LIB ${HDF5_CXX_LIBRARIES} ${HDF5_HL_LIBRARIES} )
if(HDF5_LIB) if(HDF5_LIB)
get_filename_component( HDF5_LIB_EXT ${HDF5_LIB} EXT ) get_filename_component( HDF5_LIB_EXT ${HDF5_LIB} EXT )
if(HDF5_LIB_EXT) if(HDF5_LIB_EXT)
......
3.1.1 3.1.1-55-g1cd7d7e
\ No newline at end of file \ 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