Unverified Commit 1206e28b authored by Rafael Ieda's avatar Rafael Ieda
Browse files

plistcpp: fix build with cmake4

parent 02c87eac
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@ stdenv.mkDerivation {

  postPatch = ''
    sed -i "1i #include <algorithm>" src/Plist.cpp

    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required (VERSION 2.6)" "cmake_minimum_required(VERSION 3.10)"
  '';

  nativeBuildInputs = [