This commit is contained in:
Ward Fisher 2012-08-10 21:45:06 +00:00
parent 9b3d24cbc0
commit 94da991824

View File

@ -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)