Adjusted all paths for HDF5

This commit is contained in:
Guilhem Lavaux 2015-10-22 13:20:33 +02:00
parent 0096b696a3
commit bd6853d96d
4 changed files with 10 additions and 22 deletions

View file

@ -51,12 +51,6 @@ ENDIF(YORICK_SUPPORT)
find_program(CYTHON cython)
find_library(ZLIB z)
if(HDF5_ROOTDIR)
SET(ENV{HDF5_ROOT} ${HDF5_ROOTDIR})
endif(HDF5_ROOTDIR)
find_package(HDF5 COMPONENTS CXX HL)
set(NETCDF_FIND_REQUIRED ${YORICK_SUPPORT})
set(GSL_FIND_REQUIRED TRUE)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(NetCDF DEFAULT_MSG NETCDF_LIBRARY NETCDFCPP_LIBRARY NETCDF_INCLUDE_PATH)