laszip_2: fix build with cmake v4

This commit is contained in:
qbisi
2025-09-25 00:29:09 +08:00
parent 9cf0dfd9ba
commit 224b861f4f

View File

@@ -16,6 +16,12 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-TXzse4oLjNX5R2xDR721iV+gW/rP5z3Zciv4OgxfeqA=";
};
# fix build with cmake v4
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail 'cmake_minimum_required(VERSION 2.6.0)' 'cmake_minimum_required(VERSION 3.10)'
'';
nativeBuildInputs = [ cmake ];
meta = {