bicgl: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-11-03 20:59:25 -03:00
parent fc1942a4c9
commit f979e4cd63
+5
View File
@@ -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";