Enable Module_ITKVtkGlue if vtkglue use flag is set. VtkGlue is used for
glueing an ITK pipeline and a VTK pipeline together.
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug examples fftw itkv3compat python review sse2 test"
+IUSE="debug examples fftw itkv3compat python review sse2 test vtkglue"
RDEPEND="
sci-libs/hdf5[cxx]
media-libs/tiff:0
sys-libs/zlib
fftw? ( sci-libs/fftw:3.0 )
+ vtkglue? ( sci-libs/vtk )
"
DEPEND="${RDEPEND}
python? ( ${PYTHON_DEPS}
-DITK_WRAP_complex_double=ON
)
fi
+ if use vtkglue; then
+ mycmakeargs+=(
+ -DModule_ITKVtkGlue=ON
+ )
+ fi
if use python; then
mycmakeargs+=(
-DITK_WRAP_PYTHON=ON