Commit 402e023c authored by Antonio Cervone's avatar Antonio Cervone
Browse files

set also HDF5_INCLUDE_DIR to avoid bug with older versiones of FindHDF5.cmake

parent 5c2a3f92
......@@ -177,6 +177,7 @@ endif()
if (LIFE_USE_HDF5)
if (HDF5_ROOT)
set (HDF5_INCLUDE_DIRS ${HDF5_ROOT}/include)
set (HDF5_INCLUDE_DIR ${HDF5_ROOT}/include)
set (HDF5_LIBRARIES "-L${HDF5_ROOT}/lib -lhdf5 -lz -lm")
endif()
find_package (HDF5)
......
Supports Markdown
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