]> Creatis software - FrontAlgorithms.git/blobdiff - CMakeLists.txt
Integration with cpPlugins
[FrontAlgorithms.git] / CMakeLists.txt
index cd777b02fc1ebb61012d59be6b38656057c515bb..2ad5b5461f0146bc104049eb6a52b80cbc8134dd 100644 (file)
@@ -52,6 +52,12 @@ INCLUDE(${ITK_USE_FILE})
 IF(USE_VTK)
   FIND_PACKAGE(VTK REQUIRED)
   INCLUDE(${VTK_USE_FILE})
+
+  OPTION(USE_cpPlugins "Build cpPlugins based stuff" OFF)
+  IF(USE_cpPlugins)
+    FIND_PACKAGE(cpPlugins REQUIRED)
+  ENDIF(USE_cpPlugins)
+
 ENDIF(USE_VTK)
 
 ## ================================================