Unverified Commit 28fbce2e authored by Maciej Krüger's avatar Maciej Krüger Committed by GitHub
Browse files

oonf-olsrd2: fix build with cmake4 (#455026)

parents f530b654 a35e7ea2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
    cmake
  ];

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

  meta = with lib; {
    description = "Adhoc wireless mesh routing daemon";
    license = licenses.bsd3;