-#find_package(Eigen3 CONFIG REQUIRED)
-#include(${EIGEN3_USE_FILE})
-
## =========================================================================
## @author Leonardo Florez-Valencia (florez-l@javeriana.edu.co)
## =========================================================================
project(${prj_NAME} VERSION "${prj_MAJ}.${prj_MIN}.${prj_REL}")
## == Project policies
-set(_policies CMP0015 CMP0020 CMP0042 CMP0053)
-foreach(_p ${_policies})
+set(_new_policies CMP0015 CMP0020 CMP0042 CMP0053)
+set(_old_policies CMP0006)
+foreach(_p ${_new_policies})
if(POLICY ${_p})
cmake_policy(SET ${_p} NEW)
endif(POLICY ${_p})
endforeach(_p)
-
-## == Some general configuration
-include(cmake/Definitions.cmake)
-include(cmake/Functions.cmake)
+foreach(_p ${_old_policies})
+ if(POLICY ${_p})
+ cmake_policy(SET ${_p} OLD)
+ endif(POLICY ${_p})
+endforeach(_p)
## == Find cpPlugins
-find_package(cpPlugins CONFIG)
-if(NOT cpPlugins_FOUND)
- ## == Find individual ITK (for a minimal build)
- find_package(ITK CONFIG REQUIRED)
- include(${ITK_USE_FILE})
-endif(NOT cpPlugins_FOUND)
-
-## == Find eigen3
-find_package(Eigen3 CONFIG)
+find_package(cpPlugins CONFIG REQUIRED)
+
+## == Find eigen3 (http://eigen.tuxfamily.org)
+find_package(Eigen3 QUIET CONFIG)
if(Eigen3_FOUND)
include(${EIGEN3_USE_FILE})
endif(Eigen3_FOUND)
## == Build packages
-subdirs(lib examples)
+set(fpa_BUILD 1)
+subdirs(lib examples appli)
## == Installation commands
-include(cmake/InstallCommands.cmake)
+include(${cpPlugins_INSTALL_FILE})
## eof - $RCSfile$