From 911c31fb1e0397795ca57dc49451e327be4a5887 Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Fri, 9 Apr 2021 11:07:14 +0200 Subject: [PATCH] applies already for 6.24-rc which is 6.23.99, hence the odd adaptation. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ab8229f..98dcc9f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,11 +84,12 @@ endif (ROOT_mathmore_FOUND) #--- the next check is need to set a flag, since root 6.24 (minuit2) breaks #--- the backwards compatibility. --------------------------------------------- -if (ROOT_VERSION VERSION_LESS "6.24") +if (ROOT_VERSION VERSION_LESS "6.23") set(ROOT_GRTEQ_24 0) else () set(ROOT_GRTEQ_24 1) endif () +set(ROOT_GRTEQ_24 ${ROOT_GRTEQ_24} CACHE INTERNAL "ROOT Version check") #--- check for boost ---------------------------------------------------------- find_package(Boost REQUIRED