From 2e8a047d2fbd7c7077adfb413f1751bbfebb83ba Mon Sep 17 00:00:00 2001 From: Olivier Commowick Date: Tue, 12 Nov 2019 15:39:48 +0100 Subject: [PATCH] Update dependencies requirements --- Anima/cmake/AnimaDependencies.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Anima/cmake/AnimaDependencies.cmake b/Anima/cmake/AnimaDependencies.cmake index 732f520e9..e5278847b 100644 --- a/Anima/cmake/AnimaDependencies.cmake +++ b/Anima/cmake/AnimaDependencies.cmake @@ -4,8 +4,8 @@ find_package(ITK REQUIRED) set(_ITKVersionString "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}.${ITK_VERSION_PATCH}" ) math(EXPR _ITKVersionNum "${ITK_VERSION_MAJOR}*100*100 + ${ITK_VERSION_MINOR}*100 + ${ITK_VERSION_PATCH}") -if(_ITKVersionNum LESS 41300) - message(SEND_ERROR "The ITK version you want to use (${_ITKVersionString}) is not supported by this project. Please use a more recent version of ITK. The minimum required version is 4.13.0") +if(_ITKVersionNum LESS 50000) + message(SEND_ERROR "The ITK version you want to use (${_ITKVersionString}) is not supported by this project. Please use a more recent version of ITK. The minimum required version is 5.0.0") else() include(${ITK_USE_FILE}) endif() @@ -42,8 +42,8 @@ if (BUILD_MODULE_REGISTRATION OR BUILD_MODULE_DIFFUSION OR BUILD_MODULE_MATHS) if(USE_VTK) find_package(VTK REQUIRED COMPONENTS vtkCommonCore vtkFiltersCore vtkIOXML vtkIOLegacy vtksys) - if (VTK_VERSION_MAJOR LESS 6) - message(SEND_ERROR "VTK has to be version 6 or higher.") + if (VTK_VERSION_MAJOR LESS 7) + message(SEND_ERROR "VTK has to be version 7 or higher.") endif() include(${VTK_USE_FILE})