mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
This commit is contained in:
parent
9b3d24cbc0
commit
94da991824
@ -143,7 +143,7 @@ IF (USE_HDF5 OR ENABLE_NETCDF_4)
|
||||
|
||||
# Check to see if H5Z_SZIP exists in HDF5_Libraries. If so, we must use szip.
|
||||
#CHECK_LIBRARY_EXISTS(${HDF5_LIBRARIES} H5Z_SZIP "" USE_SZIP)
|
||||
#IF(USE_SZIP)
|
||||
IF(USE_SZIP)
|
||||
FIND_PACKAGE(SZIP)
|
||||
#FIND_LIBRARY(SZIP_LIBRARY NAMES szip sz)
|
||||
IF(NOT SZIP_LIBRARY)
|
||||
@ -151,7 +151,7 @@ IF (USE_HDF5 OR ENABLE_NETCDF_4)
|
||||
ELSE()
|
||||
MESSAGE(STATUS "Found SZip: ${SZIP_LIBRARY}")
|
||||
ENDIF()
|
||||
#ENDIF()
|
||||
ENDIF()
|
||||
|
||||
FIND_LIBRARY(ZLIB_LIBRARY NAMES zlibwapi zlibstat zlib zlib1 z)
|
||||
IF(NOT ZLIB_LIBRARY)
|
||||
|
Loading…
Reference in New Issue
Block a user