bicgl, conglomerate: fix build with cmake4 (#458285)

This commit is contained in:
Sandro
2025-11-07 17:48:47 +00:00
committed by GitHub
2 changed files with 10 additions and 0 deletions
+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";
+5
View File
@@ -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 "${