Unverified Commit b14dc913 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

libzra: fix build with cmake4

parent 0b3f6f53
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -22,6 +22,9 @@ stdenv.mkDerivation {
  # in submodule dev as of 1.4.7
  postPatch = ''
    (cd submodule/zstd && patch -Np1 < ${./fix-pkg-config.patch})

    substituteInPlace submodule/zstd/build/cmake/CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 2.8.9 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
  '';

  meta = with lib; {