itk: add MINC file support (#29470)

This commit is contained in:
Ben Darwin 2022-03-13 11:44:34 -04:00 committed by GitHub
parent 717ac6ca0a
commit 0a9e41770b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,8 @@ class Itk(CMakePackage):
variant('review', default=False, description='enable modules under review')
variant('rtk', default=False,
description='build the RTK (Reconstruction Toolkit module')
variant('minc', default=False,
description='enable support for MINC files')
# TODO: This will not work if the resource is pulled from a spack mirror.
# The build process will checkout the appropriate commit but it needs to be
@ -70,6 +72,8 @@ def cmake_args(self):
force('ITK_USE_MKL', use_mkl),
from_variant('Module_ITKReview', 'review'),
from_variant('Module_RTK', 'rtk'),
from_variant('Module_ITKIOMINC', 'minc'),
from_variant('Module_ITKIOTransformMINC', 'minc')
]
if not use_mkl: