[Insight-developers] Problem with ITK_SOURCE_DIR var in
ITKConfig.cmake.in
Mathieu Malaterre
mathieu.malaterre at gmail.com
Thu Oct 18 07:39:52 EDT 2007
On 10/18/07, Thomas Feuvrier <thomas.feuvrier at c-s.cnes.fr> wrote:
> Hello,
>
> In the new version of ITK (3.4.0), we saw that the ITK_SOURCE_DIR
> variable in ITKConfig.cmake.in has disapeared ! It's important for us,
> becasue without this variable, my project (OTB) can't use the latest ITK
> version. Is it an error ?
Yes this is an error to use this variable. When importing an ITK
build/install tree you should *not* rely on ITK_SOURCE_DIR since it
would in general point to a non existant directory or worse to a
different ITK than the one you are importing.
HTH,
--
Mathieu
More information about the Insight-developers
mailing list