X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=3e9783b4945d0d66b65d5cc1db9657158424e1fa;hb=HEAD;hp=b098f7a5cebd7f702b6c0392b2edf4a34320e390;hpb=38eec70e80acde7adfc59e3eae666c848a437abd;p=FrontAlgorithms.git diff --git a/CMakeLists.txt b/CMakeLists.txt index b098f7a..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,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 ==