]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Revert "bump: Upgrade to zstd 1.5.4"
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 12 Mar 2023 20:57:39 +0000 (21:57 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 12 Mar 2023 21:00:22 +0000 (22:00 +0100)
This reverts commit 1853902f75567089a5ef46511573c7f352c6c232.

zstd 1.5.4 requires CMake 3.18+ (by mistake), so downgrade for now.

cmake/Findzstd.cmake

index d65ddd9659b007a407c73eeef4dc9d4aac1ba324..b68db6ab98284fbd878c5a01fdaffdf973d053d9 100644 (file)
@@ -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}
   )