summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2023-03-12 21:57:39 +0100
committerJoel Rosdahl <joel@rosdahl.net>2023-03-12 22:00:22 +0100
commit97ef3f31950ab0325f163ad9e75b904e1545c844 (patch)
tree91f37e17db936bb03609f1487c5cc585987c4d6b
parent4ce8cc040d62f2acf500bb39f11bebd46887ea1f (diff)
downloadccache-97ef3f31950ab0325f163ad9e75b904e1545c844.tar.gz
Revert "bump: Upgrade to zstd 1.5.4"
This reverts commit 1853902f75567089a5ef46511573c7f352c6c232. zstd 1.5.4 requires CMake 3.18+ (by mistake), so downgrade for now.
-rw-r--r--cmake/Findzstd.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Findzstd.cmake b/cmake/Findzstd.cmake
index d65ddd96..b68db6ab 100644
--- a/cmake/Findzstd.cmake
+++ b/cmake/Findzstd.cmake
@@ -48,7 +48,7 @@ if(do_download)
# Although ${zstd_FIND_VERSION} was requested, let's download a newer version.
# Note: The directory structure has changed in 1.3.0; we only support 1.3.0
# and newer.
- set(zstd_version "1.5.4")
+ set(zstd_version "1.5.2")
set(zstd_dir ${CMAKE_BINARY_DIR}/zstd-${zstd_version})
set(zstd_build ${CMAKE_BINARY_DIR}/zstd-build)
@@ -56,7 +56,7 @@ if(do_download)
FetchContent_Declare(
zstd
URL https://github.com/facebook/zstd/releases/download/v${zstd_version}/zstd-${zstd_version}.tar.gz
- URL_HASH SHA256=0f470992aedad543126d06efab344dc5f3e171893810455787d38347343a4424
+ URL_HASH SHA256=7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0
SOURCE_DIR ${zstd_dir}
BINARY_DIR ${zstd_build}
)