X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=cmake%2FfpaConfig.cmake.in;h=67047bb73c6ac2436bc2e4ff2e4f4e11f21856d3;hb=HEAD;hp=26692f3cd9539d3f74b93fe7fc675e96be8e4893;hpb=35d9275085c88f2a2c8d8112a395f09f1a183fc3;p=FrontAlgorithms.git diff --git a/cmake/fpaConfig.cmake.in b/cmake/fpaConfig.cmake.in index 26692f3..67047bb 100644 --- a/cmake/fpaConfig.cmake.in +++ b/cmake/fpaConfig.cmake.in @@ -1,16 +1,24 @@ +## ========================================================================= +## @author Leonardo Florez Valencia +## @email florez-l@javeriana.edu.co +## ========================================================================= + @PACKAGE_INIT@ -include("${CMAKE_CURRENT_LIST_DIR}/fpaBaseConfig.cmake") include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake") check_required_components("@PROJECT_NAME@") -## ============== -## == Find ITK == -## ============== +## =========================================== +## == Find needed packages and dependencies == +## =========================================== set(ITK_DIR @ITK_DIR@) - find_package(ITK CONFIG REQUIRED) include(${ITK_USE_FILE}) +if(ITKVtkGlue_LOADED) + set(VTK_DIR @VTK_DIR@) + find_package(VTK CONFIG REQUIRED) + include(${VTK_USE_FILE}) +endif(ITKVtkGlue_LOADED) ## eof - $RCSfile$