lzfse: fix build with CMake 4

This commit is contained in:
Emily
2025-09-19 16:29:10 +01:00
parent e6d9ea3282
commit 1c5d485ef2
+8
View File
@@ -18,6 +18,14 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ cmake ];
# Fix the build with CMake 4.
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail \
'cmake_minimum_required(VERSION 2.8.6)' \
'cmake_minimum_required(VERSION 3.10)'
'';
meta = {
homepage = "https://github.com/lzfse/lzfse";
description = "Reference C implementation of the LZFSE compressor";