applies already for 6.24-rc which is 6.23.99, hence the odd adaptation.

This commit is contained in:
2021-04-09 11:07:14 +02:00
parent c06f510aff
commit 911c31fb1e

View File

@ -84,11 +84,12 @@ endif (ROOT_mathmore_FOUND)
#--- the next check is need to set a flag, since root 6.24 (minuit2) breaks #--- the next check is need to set a flag, since root 6.24 (minuit2) breaks
#--- the backwards compatibility. --------------------------------------------- #--- the backwards compatibility. ---------------------------------------------
if (ROOT_VERSION VERSION_LESS "6.24") if (ROOT_VERSION VERSION_LESS "6.23")
set(ROOT_GRTEQ_24 0) set(ROOT_GRTEQ_24 0)
else () else ()
set(ROOT_GRTEQ_24 1) set(ROOT_GRTEQ_24 1)
endif () endif ()
set(ROOT_GRTEQ_24 ${ROOT_GRTEQ_24} CACHE INTERNAL "ROOT Version check")
#--- check for boost ---------------------------------------------------------- #--- check for boost ----------------------------------------------------------
find_package(Boost REQUIRED find_package(Boost REQUIRED