Unverified Commit 9cb85677 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

igprof: fix build with cmake4 (#475687)

parents 1b447735 efb37ae8
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -20,7 +20,10 @@ stdenv.mkDerivation rec {
  };

  postPatch = ''
    substituteInPlace src/igprof --replace libigprof.so $out/lib/libigprof.so
    substituteInPlace src/igprof \
      --replace-fail libigprof.so $out/lib/libigprof.so
    substituteInPlace CMakeLists.txt \
      --replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "CMAKE_MINIMUM_REQUIRED(VERSION 3.10)"
  '';

  buildInputs = [