mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
fixing cmake build
This commit is contained in:
parent
a9ba19b43c
commit
7664dc18f0
@ -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})
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user