From 9885968d248d636afd154ee29d3d5e011fcd0d62 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 9bb29017..2035931f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,11 +85,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