We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b15719d commit 8b0a4b0Copy full SHA for 8b0a4b0
Generators/CMakeLists.txt
@@ -107,10 +107,10 @@ endif()
107
if(HepMC3_FOUND)
108
list(APPEND headers include/Generators/GeneratorHepMC.h)
109
list(APPEND headers include/Generators/GeneratorHepMCParam.h)
110
- list(APPEND headers include/Generators/AODToHepMC.h)
111
endif()
112
113
-o2_target_root_dictionary(Generators HEADERS ${headers})
+o2_target_root_dictionary(Generators HEADERS ${headers}
+ $<$<BOOL:${HepMC3_FOUND}>:include/Generators/AODToHepMC.h>)
114
115
o2_add_test_root_macro(share/external/extgen.C
116
PUBLIC_LINK_LIBRARIES O2::Generators FairRoot::Base
0 commit comments