Skip to content

Commit 2e8a047

Browse files
authored
Update dependencies requirements
1 parent 0967a24 commit 2e8a047

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Anima/cmake/AnimaDependencies.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ find_package(ITK REQUIRED)
44
set(_ITKVersionString "${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR}.${ITK_VERSION_PATCH}" )
55
math(EXPR _ITKVersionNum "${ITK_VERSION_MAJOR}*100*100 + ${ITK_VERSION_MINOR}*100 + ${ITK_VERSION_PATCH}")
66

7-
if(_ITKVersionNum LESS 41300)
8-
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")
7+
if(_ITKVersionNum LESS 50000)
8+
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")
99
else()
1010
include(${ITK_USE_FILE})
1111
endif()
@@ -42,8 +42,8 @@ if (BUILD_MODULE_REGISTRATION OR BUILD_MODULE_DIFFUSION OR BUILD_MODULE_MATHS)
4242
if(USE_VTK)
4343
find_package(VTK REQUIRED COMPONENTS vtkCommonCore vtkFiltersCore vtkIOXML vtkIOLegacy vtksys)
4444

45-
if (VTK_VERSION_MAJOR LESS 6)
46-
message(SEND_ERROR "VTK has to be version 6 or higher.")
45+
if (VTK_VERSION_MAJOR LESS 7)
46+
message(SEND_ERROR "VTK has to be version 7 or higher.")
4747
endif()
4848

4949
include(${VTK_USE_FILE})

0 commit comments

Comments
 (0)