Unverified Commit bad3e00d authored by Grimmauld's avatar Grimmauld Committed by GitHub
Browse files

cmark-gfm: fix cmake 4 build errors (#449569)

parents a18e00af 41c53e61
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -15,6 +15,13 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-HiSGtRsSbW03R6aKoMVVFOLrwP5aXtpeXUC/bE5M/qo=";
  };

  # Fix the build with CMake 4.
  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail \
      "cmake_minimum_required(VERSION 3.0)" \
      "cmake_minimum_required(VERSION 3.13)"
  '';

  nativeBuildInputs = [ cmake ];

  doCheck = true;