itk: add MINC file support (#29470)
This commit is contained in:
parent
717ac6ca0a
commit
0a9e41770b
@ -32,6 +32,8 @@ class Itk(CMakePackage):
|
|||||||
variant('review', default=False, description='enable modules under review')
|
variant('review', default=False, description='enable modules under review')
|
||||||
variant('rtk', default=False,
|
variant('rtk', default=False,
|
||||||
description='build the RTK (Reconstruction Toolkit module')
|
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.
|
# 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
|
# 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),
|
force('ITK_USE_MKL', use_mkl),
|
||||||
from_variant('Module_ITKReview', 'review'),
|
from_variant('Module_ITKReview', 'review'),
|
||||||
from_variant('Module_RTK', 'rtk'),
|
from_variant('Module_RTK', 'rtk'),
|
||||||
|
from_variant('Module_ITKIOMINC', 'minc'),
|
||||||
|
from_variant('Module_ITKIOTransformMINC', 'minc')
|
||||||
]
|
]
|
||||||
|
|
||||||
if not use_mkl:
|
if not use_mkl:
|
||||||
|
Loading…
Reference in New Issue
Block a user