]> Creatis software - FrontAlgorithms.git/blobdiff - CMakeLists.txt
...
[FrontAlgorithms.git] / CMakeLists.txt
index 667002b8fa406ef26186f952e5845a6d9ece29c2..4aa96867e0c75bb107a4b87c004ae2857ff73210 100644 (file)
@@ -8,7 +8,7 @@ SET(prj_NAME FrontAlgorithms)
 SET(prj_MAJOR_VERSION   0)
 SET(prj_MINOR_VERSION   1)
 SET(prj_RELEASE_VERSION 0)
-SET(_subdirs lib plugins)
+SET(_subdirs lib plugins examples)
 SET(_policies CMP0015 CMP0020 CMP0042)
 
 ## ==========================
@@ -36,18 +36,12 @@ SET(prj_SHORT_VERSION "${prj_MAJOR_VERSION}")
 ## == Functions, packages and options ==
 ## =====================================
 
-FIND_PACKAGE(cpPlugins QUIET)
-IF(cpPlugins_DIR)
-  OPTION(USE_cpPlugins "Build cpPlugins-based code" ON)
-ELSE(cpPlugins_DIR)
-  OPTION(USE_cpPlugins "Build cpPlugins-based code" OFF)
-  MARK_AS_ADVANCED(FORCE cpPlugins_DIR)
-ENDIF(cpPlugins_DIR)
+INCLUDE(cmake/BaseConfig.cmake)
+OPTION(USE_cpPlugins "Build cpPlugins-based code" OFF)
 IF(USE_cpPlugins)
   FIND_PACKAGE(cpPlugins)
   MARK_AS_ADVANCED(CLEAR cpPlugins_DIR)
 ENDIF(USE_cpPlugins)
-INCLUDE(cmake/BaseConfig.cmake)
 INCLUDE(cmake/KitwareTools.cmake)
 INCLUDE(cmake/QtTools.cmake)
 INCLUDE(cmake/Functions.cmake)