[Insight-developers] CMakeLists.txt in BasicIOAndFilter

Luis Ibanez luis.ibanez@kitware.com
Wed, 16 Oct 2002 23:35:44 -0400


Hi Mark,

The lines in the CMakeLists.txt file that
include FindITK.cmake are intenteded to be
used only outside the build tree.

The four lines were set in comments.

Probably we should define a CMake variable
like

        IS_IN_ITK_TREE

and put the FindITK.cmake lines in between

IF( NOT IS_IN_ITK_TREE )
    ...
ENDIF( NOT IS_IN_ITK_TREE )


It would be nice to find a more compact
way of doing this so all the small examples
can be configured to build inside and
outside the ITK tree.


     Luis