niftyreg: fix build with cmake4 (#454932)
This commit is contained in:
@@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.8.0)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftyReg";
|
||||
description = "Medical image registration software";
|
||||
|
||||
Reference in New Issue
Block a user