Unverified Commit 8712de25 authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

biboumi: fix breakage with CMake 4 (#449468)

parents 2e7edcf6 9d3c1745
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -79,6 +79,12 @@ stdenv.mkDerivation {
    "man"
  ];

  cmakeFlags = [
    # Fix breakage with CMake 4
    "-DCMAKE_SKIP_RPATH=ON"
    "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
  ];

  preConfigure = ''
    substituteInPlace CMakeLists.txt --replace /etc/biboumi $out/etc/biboumi
    cp ${catch}/single_include/catch.hpp tests/