mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Restricted prior fix to visual studio only as it doesn't appear necessary for OSX/Linux.
This commit is contained in:
parent
e0a0ea7610
commit
b2aaaad1ce
@ -498,7 +498,7 @@ IF(USE_HDF5 OR ENABLE_NETCDF_4)
|
||||
MESSAGE(FATAL_ERROR "Unable to locate HDF5. Disable netcdf-4 or install libhdf5 1.8.9 or later.")
|
||||
ENDIF(HDF5_LIBRARIES)
|
||||
ELSE(MSVC)
|
||||
FIND_PACKAGE(HDF5 COMPONENTS C HL REQUIRED ${NC_HDF5_LINK_TYPE})
|
||||
FIND_PACKAGE(HDF5 COMPONENTS C HL REQUIRED)
|
||||
ENDIF(MSVC)
|
||||
ENDIF()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user