Skip to content

Commit

Permalink
Merge pull request #3036 from WardF/fix-zstd-cmake.wif
Browse files Browse the repository at this point in the history
If libZstd isn't found, turn off netcdf_enable_filter_zstd
  • Loading branch information
WardF authored Oct 1, 2024
2 parents b84fcd7 + 870875d commit f33fb51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ set(USE_SZIP ${HAVE_SZ})
set_std_filter(Blosc)
if(Zstd_FOUND)
set_std_filter(Zstd)
else()
set(NETCDF_ENABLE_FILTER_ZSTD OFF)
endif()
if(Bz2_FOUND)
set_std_filter(Bz2)
Expand Down

0 comments on commit f33fb51

Please sign in to comment.