]> Creatis software - FrontAlgorithms.git/commitdiff
Integration with cpPlugins
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Tue, 9 Dec 2014 17:45:17 +0000 (18:45 +0100)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Tue, 9 Dec 2014 17:45:17 +0000 (18:45 +0100)
CMakeLists.txt
COMPILATION

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)
 
 ## ================================================
index 1886dd8aca2191c34c136e57ba785a450f245170..d4f24086c7312a7a8695f9dbeb1a138e9c224839 100644 (file)
     4.1 Required cmake flags:
       BUILD_SHARED_LIBS:BOOL=ON
 
+  5. [OPTIONAL] cpPlugins (>=0.0.1)
+    5.1 Required cmake flags:
+      BUILD_SHARED_LIBS:BOOL=ON
+
 @cmake_flags
   BUILD_EXAMPLES:BOOL
     Build example applications? (most of them are command line)