## = Packages =
## ============
+ # Prepare header to build shared libs (windows)
INCLUDE(GenerateExportHeader)
-# Find ITK and VTK
-FIND_PACKAGE(ITK REQUIRED)
-FIND_PACKAGE(VTK REQUIRED)
-
-INCLUDE(${ITK_USE_FILE})
-INCLUDE(${VTK_USE_FILE})
-
-# Do not use itk-vtk glue --> problems ahead!!!
-IF(ITKVtkGlue_LOADED)
- 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.")
-ENDIF(ITKVtkGlue_LOADED)
-
-OPTION(USE_cpPlugins "Build cpPlugins based stuff" OFF)
-IF(USE_cpPlugins)
- FIND_PACKAGE(cpPlugins REQUIRED)
-ENDIF(USE_cpPlugins)
+# Find cpPlugins
+FIND_PACKAGE(cpPlugins REQUIRED)
## ================================================
## = Do not allow to build inside the source tree =