mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-23 16:59:54 +08:00
Merge pull request #2071 from mathstuf/hdf5-library-variable-hole
hdf5: try and fill in HDF5_C_LIBRARY from HDF5_hdf5_LIBRARY if possible
This commit is contained in:
commit
b8a04fd8fa
@ -711,6 +711,10 @@ IF(USE_HDF5)
|
||||
|
||||
ELSE(MSVC)
|
||||
|
||||
IF(HDF5_hdf5_LIBRARY AND NOT HDF5_C_LIBRARY)
|
||||
SET(HDF5_C_LIBRARY ${HDF5_hdf5_LIBRARY})
|
||||
ENDIF()
|
||||
|
||||
# Depending on the install, either HDF5_hdf_library or
|
||||
# HDF5_C_LIBRARIES may be defined. We must check for either.
|
||||
IF(HDF5_C_LIBRARIES AND NOT HDF5_hdf5_LIBRARY)
|
||||
|
Loading…
Reference in New Issue
Block a user