-INCLUDE(GenerateExportHeader)
-
-FIND_PACKAGE(ITK REQUIRED)
-INCLUDE(${ITK_USE_FILE})
-
-FIND_PACKAGE(VTK REQUIRED)
-INCLUDE(${VTK_USE_FILE})
-
-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)
-
-
-IF(USE_QT4)
- FIND_PACKAGE(Qt4 REQUIRED)
- INCLUDE(${QT_USE_FILE})
-
- ## Check for required modules
- IF(NOT vtkGUISupportQt_LOADED)
- MESSAGE(
- FATAL_ERROR
- "vtkGUISupportQt module is required but not available."
- )
- ENDIF(NOT vtkGUISupportQt_LOADED)
- IF(NOT vtkGUISupportQtOpenGL_LOADED)
- MESSAGE(
- FATAL_ERROR
- "vtkGUISupportQtOpenGL module is required but not available."
- )
- ENDIF(NOT vtkGUISupportQtOpenGL_LOADED)
-ENDIF(USE_QT4)
+INCLUDE(cmake/cpPlugins_Options.cmake)
+INCLUDE(cmake/cpPlugins_KitwareTools.cmake)
+INCLUDE(cmake/cpPlugins_Qt4Tools.cmake)