Skip to content

Commit e0b9a76

Browse files
committed
Update Key4hepConfig.cmake: allow C++26
1 parent bf2eb3c commit e0b9a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/Key4hepConfig.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ endmacro()
4343
macro(key4hep_set_cxx_standard_and_extensions)
4444
set(CMAKE_CXX_STANDARD 20 CACHE STRING "")
4545

46-
if(NOT CMAKE_CXX_STANDARD MATCHES "20|23")
46+
if(NOT CMAKE_CXX_STANDARD MATCHES "20|23|26")
4747
message(FATAL_ERROR "Unsupported C++ standard: ${CMAKE_CXX_STANDARD}, supported values are 20 and 23")
4848
endif()
4949

0 commit comments

Comments
 (0)