Import 2017-06-07 23:51:09: master 990d0500

Author Committer Branch Timestamp Parent
jcfr jcfr master 2014-07-04 02:36:09 master b5b6e3be
Changeset

COMP: Fix BRAINSTools configure error related to missing ITKVtkGlue

Commit Slicer/BRAINSTools@94d53a64:

//---------------
COMP: Conditionally specify ITK component "ITKVtkGlue" to fix Slicer build.

This commit conditionally append "ITKVtkGlue" to the list of components
introduced in commit 2c751a5. Considering that (1) Slicer does NOT build
the module BRAINSConstellationDetector and ConvertBetweenFileFormats
depending on "ITKVtkGlue" and (2) Slicer does NOT build ITK with
module ITKVtkGlue enabled, this commit will ensure BRAINSTools can
be built within Slicer.

Ideally, every module should specify the list of ITK components it expects.

To find out which module depended on "ITKVtkGlue", assuming the source of
ITKv4 are in /path/to/src/ITKv5, the following one-liner has been used:

cd /path/to/src/BRAINSTools

for i in ls -d */; do \
echo Directory [$i]; \
../ITKv4/Utilities/Maintenance/WhatModulesITK.py \
../ITKv4 $(find $i -type f) | ack -i ITKVtkGlue; \
done
//---------------

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23416 3bd1e089-480b-0410-8dfb-8563597acbee

mod - SuperBuild.cmake Diff File