From 7990e2c38dd1c369bd99dfccaf85b8f61aa78038 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Thu, 28 Mar 2024 09:05:32 +0100 Subject: [PATCH] Increase required RTK version to 2.5 for accurate fixed forced detection Commit ddc188532c306d464ee9ce9989f3d17b7be97e34 accounts for a required RTK change, RTKConsortium/RTK@a4ba257d39c2c1f1b7eef79f59631cc7bb2005ae, which has been released starting with RTK v2.5. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 777d05a1c..009f976e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -255,8 +255,8 @@ IF(GATE_USE_RTK OR GATE_USE_ITK) SET(ITK_MINIMAL_VERSION 4.12) ENDIF() FIND_PACKAGE(ITK ${ITK_MINIMAL_VERSION} REQUIRED COMPONENTS ${ITK_COMPONENTS}) - IF(GATE_USE_RTK AND "${RTK_VERSION_MAJOR}.${RTK_VERSION_MINOR}" VERSION_LESS 2.0) - MESSAGE(FATAL_ERROR "RTK version 2.0 is required") + IF(GATE_USE_RTK AND "${RTK_VERSION_MAJOR}.${RTK_VERSION_MINOR}" VERSION_LESS 2.5) + MESSAGE(FATAL_ERROR "RTK version 2.5 is required") ENDIF() INCLUDE(${ITK_USE_FILE}) STRING(REPLACE "-pedantic" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})