summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/itk/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/itk/package.py b/var/spack/repos/builtin/packages/itk/package.py
index bd20a28d3d..d0123b60f6 100644
--- a/var/spack/repos/builtin/packages/itk/package.py
+++ b/var/spack/repos/builtin/packages/itk/package.py
@@ -58,13 +58,18 @@ class Itk(CMakePackage):
depends_on("expat")
depends_on("fftw-api")
depends_on("googletest")
- depends_on("hdf5+cxx")
+ depends_on("hdf5+cxx+hl")
depends_on("jpeg")
depends_on("libpng")
depends_on("libtiff")
- depends_on("mpi")
depends_on("zlib-api")
+ patch(
+ "https://github.com/InsightSoftwareConsortium/ITK/commit/9a719a0d2f5f489eeb9351b0ef913c3693147a4f.patch?full_index=1",
+ sha256="ec1f7fa71f2b7f05d9632c6b0321e7d436fff86fca92c60c12839b13ea79bd70",
+ when="@5.2.0:5.3.0",
+ )
+
def cmake_args(self):
use_mkl = "^mkl" in self.spec
args = [