mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-31 17:50:26 +08:00
Merge branch 'bugfix/debian-stable-default-compilation' of https://github.com/t-b/netcdf-c into pr-aggregation.wif
This commit is contained in:
commit
591b1fd131
@ -750,7 +750,7 @@ IF(USE_HDF5 OR ENABLE_NETCDF_4)
|
||||
SET(H5_USE_16_API 0)
|
||||
ENDIF()
|
||||
|
||||
FIND_PATH(HAVE_HDF5_H hdf5.h)
|
||||
FIND_PATH(HAVE_HDF5_H hdf5.h PATHS ${HDF5_INCLUDE_DIR})
|
||||
IF(NOT HAVE_HDF5_H)
|
||||
MESSAGE(FATAL_ERROR "Compiling a test with hdf5 failed. Either hdf5.h cannot be found, or the log messages should be checked for another reason.")
|
||||
ELSE(NOT HAVE_HDF5_H)
|
||||
|
Loading…
x
Reference in New Issue
Block a user