Unverified Commit 0162f171 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

arguments: fix build with cmake4 (#458199)

parents 556163b8 ceaf5846
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";