Unverified Commit 815f6e9e authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

clipper: fix build with CMake 4.0 (#451117)

parents ff4be28f ec8a6e17
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -17,6 +17,11 @@ stdenv.mkDerivation rec {

  sourceRoot = "cpp";

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)" "CMAKE_MINIMUM_REQUIRED(VERSION 3.10.0)"
  '';

  nativeBuildInputs = [
    cmake
    ninja