Skip to content
Snippets Groups Projects
Commit 2f685153 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

reverting HDF5 change: it breaks our nightly builds

parent ce40b027
Branches
Tags
No related merge requests found
...@@ -825,10 +825,8 @@ if(ENABLE_FOURIER_MODEL) ...@@ -825,10 +825,8 @@ if(ENABLE_FOURIER_MODEL)
endif(ENABLE_FOURIER_MODEL) endif(ENABLE_FOURIER_MODEL)
if(ENABLE_MED OR ENABLE_CGNS) if(ENABLE_MED OR ENABLE_CGNS)
find_package(HDF5) find_library(HDF5_LIB hdf5)
if(HDF5_FOUND) if(HDF5_LIB)
set(HDF5_LIB "${HDF5_C_LIBRARIES}")
list(APPEND EXTERNAL_INCLUDES ${HDF5_INCLUDE_DIRS})
if(ENABLE_MED) if(ENABLE_MED)
find_library(MED_LIB med) find_library(MED_LIB med)
if(MED_LIB) if(MED_LIB)
...@@ -859,9 +857,9 @@ if(ENABLE_MED OR ENABLE_CGNS) ...@@ -859,9 +857,9 @@ if(ENABLE_MED OR ENABLE_CGNS)
endif(ZLIB_FOUND) endif(ZLIB_FOUND)
endif(NOT HAVE_LIBZ) endif(NOT HAVE_LIBZ)
endif(MED_LIB OR CGNS_LIB) endif(MED_LIB OR CGNS_LIB)
else(HDF5_FOUND) else(HDF5_LIB)
message(STATUS "HDF5 not found") message(STATUS "HDF5 not found")
endif(HDF5_FOUND) endif(HDF5_LIB)
endif(ENABLE_MED OR ENABLE_CGNS) endif(ENABLE_MED OR ENABLE_CGNS)
if(HAVE_SOLVER) if(HAVE_SOLVER)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment