[Insight-developers] bad module dependency (was: why can't a file in Modules/Filtering/DiffusionTensorImage/include find itkSpatialObject.h?)

Brad King brad.king at kitware.com
Fri Mar 25 17:48:15 EDT 2011


On 03/25/2011 04:21 PM, Williams, Norman K wrote:
> Bonus fun fact: If you misspell any of the module names in the DEPENDS
> clause of itk_module, CMake throws a bogus warning about your
> build-directory already being in use for ITK.

This should take care of that:

  http://itk.org/gitweb?p=ITK.git;a=commitdiff;h=e15a9111

Now if ITK-Mesh depends on ITK-DoesNotExist then one gets an error:

  CMake Error at CMakeLists.txt:230 (message):
    No such module "ITK-DoesNotExist" needed by "ITK-Mesh"

and processing stops.

-Brad


More information about the Insight-developers mailing list