From 18aa4cd681ee4c6af0a5e7267de2583fd71cf43e Mon Sep 17 00:00:00 2001 From: Kris Thielemans Date: Sat, 17 Feb 2024 15:52:59 +0000 Subject: [PATCH] [CMake] require ROOT 6.28.0 (needed for C++-17) --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 600fbc50d..420b87e8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,13 +118,13 @@ if(NOT DISABLE_LLN_MATRIX) endif() if(NOT DISABLE_CERN_ROOT) - find_package(CERN_ROOT) + find_package(CERN_ROOT 6.28.00) # required for C++17 if (CERN_ROOT_FOUND) message(STATUS "ROOT Version: ${CERN_ROOT_VERSION}") - if (${CERN_ROOT_VERSION} VERSION_GREATER 6.23.99) - message(STATUS "ROOT Version is >= 6.24. Setting the minimum CXX version to 14.") - UseCXX(14) - endif() + # if (${CERN_ROOT_VERSION} VERSION_GREATER 6.23.99) + # message(STATUS "ROOT Version is >= 6.24. Setting the minimum CXX version to 14.") + # UseCXX(14) + # endif() endif() endif()