Unverified Commit bf654e42 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

conglomerate: fix build with cmake4

parent f979e4cd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -47,6 +47,11 @@ stdenv.mkDerivation {
    "-DBICPL_DIR=${bicpl}/lib"
  ];

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

  postFixup = ''
    for p in $out/bin/*; do
      wrapProgram $p --prefix PERL5LIB : $PERL5LIB --set PATH "${