simpleitk: itk -> itk4

- simpleitk 1.2.4 is incompatible with ITK 5.1, so this can be reverted when 2.x is released.
This commit is contained in:
Ben Darwin
2020-05-05 00:08:04 -04:00
parent 404834334b
commit 20cf206a09
2 changed files with 6 additions and 3 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, git, swig, lua, itk, tcl, tk }:
{ stdenv, fetchFromGitHub, cmake, git, swig, lua, itk4, tcl, tk }:
stdenv.mkDerivation rec {
pname = "simpleitk";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake git swig ];
buildInputs = [ lua itk ];
buildInputs = [ lua itk4 ];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_CXX_FLAGS='-Wno-attributes'" ];