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

bicgl: fix build with cmake4

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

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

  meta = with lib; {
    homepage = "https://github.com/${owner}/bicgl";
    description = "Brain Imaging Centre graphics library";