Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jan 17, 2024
1 parent 05dc0f9 commit ce6bc6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ else()
endif()

# Check that root is compiled with a modern enough c++ standard
# ROOT_CXX_STANDARD was introduced in https://github.com/root-project/root/pull/6466
# before that it's an empty variable so we check if it's any number > 0
if(ROOT_CXX_STANDARD VERSION_GREATER 0)
# ROOT_CXX_STANDARD was introduced in https://github.com/root-project/root/pull/6466
if(ROOT_CXX_STANDARD VERSION_LESS 17)
message(FATAL_ERROR "You are trying to build podio against a version of ROOT that has not been built with a sufficient c++ standard. podio requires c++17 or higher")
endif()
Expand Down

0 comments on commit ce6bc6c

Please sign in to comment.