1 # ======================
2 # == Find ITK and VTK ==
3 # ======================
5 FIND_PACKAGE(ITK REQUIRED)
6 FIND_PACKAGE(VTK REQUIRED)
8 INCLUDE(${ITK_USE_FILE})
9 INCLUDE(${VTK_USE_FILE})
11 # ===================================================
12 # == Do not use itk-vtk glue --> problems ahead!!! ==
13 # ===================================================
16 MESSAGE(FATAL_ERROR "ITKVtkGlue module is available. Please re-compile your ITK without it. It could lead to nasty compilation problems... Just waiting for Kitware to solve it.")
17 ENDIF(ITKVtkGlue_LOADED)