diff --git a/CMakeLists.txt b/CMakeLists.txt index 8964b3e02..27034ef07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)