X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=3e9783b4945d0d66b65d5cc1db9657158424e1fa;hb=HEAD;hp=d1ab775bbc258a20ba91c572d5110e6d14568e14;hpb=479d85a44365c8aa01976ffb9c7d67d3e9e52b63;p=FrontAlgorithms.git diff --git a/CMakeLists.txt b/CMakeLists.txt index d1ab775..3e9783b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,8 @@ +## ========================================================================= +## @author Leonardo Florez Valencia +## @email florez-l@javeriana.edu.co +## ========================================================================= + cmake_minimum_required(VERSION 3.0) ## ======================== @@ -91,11 +96,12 @@ mark_as_advanced( ## == Find needed packages and dependencies == ## =========================================== -find_package(ivq CONFIG QUIET) -if(NOT ivq_FOUND) - find_package(ITK CONFIG REQUIRED) - include(${ITK_USE_FILE}) -endif(NOT ivq_FOUND) +find_package(ITK CONFIG REQUIRED) +include(${ITK_USE_FILE}) +if(ITKVtkGlue_LOADED) + find_package(VTK CONFIG REQUIRED) + include(${VTK_USE_FILE}) +endif(ITKVtkGlue_LOADED) ## ========================= ## == Installation values == @@ -113,7 +119,7 @@ set(namespace "${PROJECT_NAME}::") ## == Build different parts == ## =========================== -subdirs(lib tests) +subdirs(appli lib tests) ## =============================== ## == Global installation rules ==