Commit 224b861f authored by qbisi's avatar qbisi
Browse files

laszip_2: fix build with cmake v4

parent 9cf0dfd9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 = {