fixing cmake build

This commit is contained in:
Ed Hartnett 2017-11-20 04:15:44 -07:00
parent a9ba19b43c
commit 7664dc18f0
2 changed files with 2 additions and 2 deletions

View File

@ -691,7 +691,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_C_LIBRARY_hdf5} H5Z_SZIP "" USE_SZIP)
IF(USE_SZIP)
FIND_LIBRARY(SZIP NAMES szip sz)
FIND_LIBRARY(SZIP NAMES sz szip)
IF(SZIP)
SET(HAVE_H5Z_SZIP 1)
SET(SZIP_LIBRARY ${SZIP})

View File

@ -171,8 +171,8 @@ ENDIF()
# Known failure on MSVC; the number of 0's padding
# is different, but the result is actually correct.
#IF(NOT MSVC)
add_sh_test(ncdump tst_netcdf4)
add_bin_test(ncdump tst_h_rdc0)
add_sh_test(ncdump tst_netcdf4)
#ENDIF()
add_bin_test(ncdump tst_unicode)