]> Creatis software - FrontAlgorithms.git/blobdiff - CMakeLists.txt
...
[FrontAlgorithms.git] / CMakeLists.txt
index d13261f78b63294a0938dde49b0cafbdde263b84..095eff9366efa51e29816ae6be9befdbfa2843e6 100644 (file)
@@ -28,12 +28,15 @@ endforeach(_p)
 
 include(cmake/fpaBaseConfig.cmake)
 
-## ==============
-## == Find ITK ==
-## ==============
+## ==========================
+## == Find needed packages ==
+## ==========================
 
-find_package(ITK CONFIG REQUIRED)
-include(${ITK_USE_FILE})
+find_package(ivq CONFIG QUIET)
+if(NOT ivq_FOUND)
+  find_package(ITK CONFIG REQUIRED)
+  include(${ITK_USE_FILE})
+endif(NOT ivq_FOUND)
 
 ## =========================
 ## == Installation values ==
@@ -51,7 +54,7 @@ set(namespace "${PROJECT_NAME}::")
 ## == Build different parts ==
 ## ===========================
 
-subdirs(examples lib)
+subdirs(lib tests)
 
 ## ===============================
 ## == Global installation rules ==