mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Merge pull request #2751 from mathstuf/find-hdf5-if-needed
netCDFConfig: find HDF5 if needed
This commit is contained in:
commit
980c7cffb4
@ -40,6 +40,10 @@ set(netCDF_HAS_DAP4 @HAS_DAP4@)
|
||||
set(netCDF_HAS_DISKLESS @HAS_DISKLESS@)
|
||||
set(netCDF_HAS_MMAP @HAS_MMAP@)
|
||||
set(netCDF_HAS_JNA @HAS_JNA@)
|
||||
if (netCDF_HAS_HDF4 OR netCDF_HAS_HDF5)
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(HDF5)
|
||||
endif ()
|
||||
|
||||
if (@HAS_PARALLEL@)
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
Loading…
Reference in New Issue
Block a user