Unverified Commit e2b747e0 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

curv: fix build with cmake4 (#459268)

parents b8dbd622 eb011f3f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -70,6 +70,11 @@ stdenv.mkDerivation {
    runHook postInstallCheck
  '';

  postPatch = ''
    substituteInPlace extern/googletest/googletest/CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 2.6.2)" "cmake_minimum_required(VERSION 3.10)"
  '';

  passthru.updateScript = unstableGitUpdater { };

  meta = with lib; {