Commit ec8a6e17 authored by Robert Schütz's avatar Robert Schütz
Browse files

clipper: fix build with CMake 4.0

parent ed79f4bf
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