Skip to content

Commit

Permalink
Update Key4hepConfig.cmake with key4hep/key4hep-dev-utils#9
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Sep 24, 2024
1 parent 007c784 commit 39780c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Key4hepConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ macro(key4hep_set_compiler_flags)
if(CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$")
set(COMPILER_FLAGS "${COMPILER_FLAGS} -Winconsistent-missing-override -Wheader-hygiene -fcolor-diagnostics")
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(COMPILER_FLAGS "${COMPILER_FLAGS} -fdiagnostics-color=always")
set(COMPILER_FLAGS "${COMPILER_FLAGS} -fdiagnostics-color=always -Wno-dangling-reference")
endif()

if (DEFINED KEY4HEP_SET_COMPILER_FLAGS AND NOT KEY4HEP_SET_COMPILER_FLAGS)
Expand Down

0 comments on commit 39780c4

Please sign in to comment.