Skip to content

Commit

Permalink
If libZstd isn't found, turn off netcdf_enable_filter_zstd
Browse files Browse the repository at this point in the history
  • Loading branch information
WardF committed Sep 30, 2024
1 parent 0ad7164 commit 870875d
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 870875d

Please sign in to comment.