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

arguments: fix build with cmake4

parent 7266b838
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
  doCheck = false;
  # internal_volume_io.h: No such file or directory

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
  '';

  meta = with lib; {
    homepage = "https://github.com/${owner}/arguments";
    description = "Library for argument handling for MINC programs";