[Insight-developers] wrapping still broken with the modularized ITK

Brad King brad.king at kitware.com
Mon Mar 21 14:11:34 EDT 2011


On 3/21/2011 11:51 AM, Gaëtan Lehmann wrote:
> * WrapITK uses find_package(ITK) to get the source directories to  
> include. Unfortunately, ITKConfig.cmake includes ITKTargets.cmake  
> which tries to redefine all the libraries already created elsewhere.  

This should remedy that problem:

  http://itk.org/gitweb?p=ITK.git;a=commit;h=5c20de32

> This method was used to work, but may not have been appropriate.

ITKConfig.cmake is generally meant for use by code that only needs
the public interface of ITK and no special knowledge from the build
tree.  If that the case for WrapITK then proceed.

-Brad


More information about the Insight-developers mailing list