Bundle FindHDF5 to avoid surprizes

This commit is contained in:
Guilhem Lavaux 2015-10-29 10:50:41 +01:00
parent 1725125d76
commit a9075815d4
2 changed files with 352 additions and 1 deletions

View file

@ -76,7 +76,7 @@ if(YORICK_SUPPORT)
include_directories(${NETCDF_INCLUDE_PATH} ${NETCDFCPP_INCLUDE_PATH})
endif(YORICK_SUPPORT)
if (HDF5_FOUND)
set(CosmoTool_LIBS ${CosmoTool_LIBS} ${HDF5_CXX_LIBRARY} ${HDF5_C_LIBRARY} ${ZLIB})
set(CosmoTool_LIBS ${CosmoTool_LIBS} ${HDF5_CPP_LIBRARY} ${HDF5_LIBRARY} ${ZLIB})
include_directories(${HDF5_INCLUDE_DIRS})
endif (HDF5_FOUND)