Fixed link ordering and detection of HL libraries
This commit is contained in:
parent
c7d0974857
commit
b2bf2cb042
3 changed files with 11 additions and 6 deletions
|
@ -27,7 +27,10 @@ find_library(NETCDFCPP_LIBRARY NAMES netcdf_c++ netcdf_c++4)
|
|||
find_library(GSL_LIBRARY gsl)
|
||||
find_library(GSLCBLAS_LIBRARY gslcblas)
|
||||
|
||||
set(HDF5_FIND_COMPONENTS CXX)
|
||||
set(HDF5_FIND_COMPONENTS HL CXX)
|
||||
if(HDF5_ROOTDIR)
|
||||
SET(ENV{HDF5_ROOT} ${HDF5_ROOTDIR})
|
||||
endif(HDF5_ROOTDIR)
|
||||
include(FindHDF5)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue