X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;fp=CMakeLists.txt;h=13e90cb84bbb22c4c45c5a428b01d489699dd424;hb=3c639e5da479c7216a0a302ffa156ac6762caeed;hp=b098f7a5cebd7f702b6c0392b2edf4a34320e390;hpb=5bf766068f54d061d3816f4950a076c3cf3a4d8b;p=FrontAlgorithms.git diff --git a/CMakeLists.txt b/CMakeLists.txt index b098f7a..13e90cb 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,7 +96,12 @@ mark_as_advanced( ## == Find needed packages and dependencies == ## =========================================== -find_package(ivq CONFIG REQUIRED) +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 == @@ -109,7 +119,7 @@ set(namespace "${PROJECT_NAME}::") ## == Build different parts == ## =========================== -subdirs(appli lib tests) +subdirs(lib tests) ## =============================== ## == Global installation rules ==