[Insight-developers] Necessary (?) Patch to
InsightApplications/CMakeLists.txt
Luis Ibanez
luis.ibanez at kitware.com
Mon Nov 6 16:56:34 EST 2006
Hi Kent,
Thanks for sending the patch to solve this problem.
However,
it seems that this patch will work fine with an installed VTK
but not with a built VTK, where the vtkWrapTcl.cmake is
still stored in the source directory.
Should we try to cover both combinations ?
Luis
---------------------------------------------------------------------------------
On 11/6/06, Kent Williams <kent at psychiatry.uiowa.edu> wrote:
>
> I don't have write access to InsightApplications, and the following
> patch is necessary to compile InsightApplications if you're using an
> installed VTK. The problem is that VTK_SOURCE_DIR -- which in my case,
> wasn't defined at all when configuring InsightApplications by itself --
> is the wrong place to look for CMake include files, pretty much always.
> It really should be VTK_DIR since that's something usefully defined
> during the CMake configuration process.
>
> *** CMakeLists.txt 3 Nov 2006 16:38:50 -0000 1.197
> --- CMakeLists.txt 6 Nov 2006 21:37:11 -0000
> ***************
> *** 297,303 ****
> OPTIONAL_APP(ThinPlateSplines)
> ENDIF(FLTK_FOUND)
>
> ! SET(VTK_CMAKE_DIR ${VTK_SOURCE_DIR}/CMake)
> IF(VTK_WRAP_TCL)
> INCLUDE(${VTK_CMAKE_DIR}/vtkWrapTcl.cmake)
> ENDIF(VTK_WRAP_TCL)
> --- 297,303 ----
> OPTIONAL_APP(ThinPlateSplines)
> ENDIF(FLTK_FOUND)
>
> ! SET(VTK_CMAKE_DIR ${VTK_DIR}/CMake)
> IF(VTK_WRAP_TCL)
> INCLUDE(${VTK_CMAKE_DIR}/vtkWrapTcl.cmake)
> ENDIF(VTK_WRAP_TCL)
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20061106/e0533a6c/attachment.html
More information about the Insight-developers
mailing list