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

This commit is contained in:
suter_a 2021-04-09 11:07:14 +02:00
parent 15f191c8d6
commit 9885968d24

View File

@ -85,11 +85,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