]> Creatis software - FrontAlgorithms.git/blob - cmake/KitwareTools.cmake
b4493d2951ee5a7ed629b51a02589e07c1bd038c
[FrontAlgorithms.git] / cmake / KitwareTools.cmake
1 # ======================
2 # == Find ITK and VTK ==
3 # ======================
4
5 FIND_PACKAGE(ITK REQUIRED)
6 FIND_PACKAGE(VTK REQUIRED)
7
8 INCLUDE(${ITK_USE_FILE})
9 INCLUDE(${VTK_USE_FILE})
10
11 # ===================================================
12 # == Do not use itk-vtk glue --> problems ahead!!! ==
13 # ===================================================
14
15 IF(ITKVtkGlue_LOADED)
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)
18
19 ## eof - $RCSfile$