Skip to content

Commit

Permalink
Do not expose AODToHepMC.h to ROOT
Browse files Browse the repository at this point in the history
This is needed to fix macOS builds. Apparently ROOT injects
some arrow incompatible system headers in the chain.
  • Loading branch information
ktf committed Nov 14, 2023
1 parent b15719d commit 8b0a4b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Generators/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ endif()
if(HepMC3_FOUND)
list(APPEND headers include/Generators/GeneratorHepMC.h)
list(APPEND headers include/Generators/GeneratorHepMCParam.h)
list(APPEND headers include/Generators/AODToHepMC.h)
endif()

o2_target_root_dictionary(Generators HEADERS ${headers})
o2_target_root_dictionary(Generators HEADERS ${headers}
$<$<BOOL:${HepMC3_FOUND}>:include/Generators/AODToHepMC.h>)

o2_add_test_root_macro(share/external/extgen.C
PUBLIC_LINK_LIBRARIES O2::Generators FairRoot::Base
Expand Down

0 comments on commit 8b0a4b0

Please sign in to comment.