]> Creatis software - cpPlugins.git/blob - cmake/cpPlugins_KitwareTools.cmake
...
[cpPlugins.git] / cmake / cpPlugins_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$