Skip to content

Commit

Permalink
[CMake] require ROOT 6.28.0 (needed for C++-17)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisThielemans committed Feb 17, 2024
1 parent 22c1a42 commit 18aa4cd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 18aa4cd

Please sign in to comment.