Skip to content

Commit 6b2d798

Browse files
ihrivnacsawenzel
authored andcommitted
Fix in Generators CMake:
Replaced install(FILES ..) with o2_data_file(..) macro; this avoids o2sim_G3/4 ctest failures due to missing generators directory in the 'stage' directory in build.
1 parent b5b5389 commit 6b2d798

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

Generators/CMakeLists.txt

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -139,20 +139,6 @@ o2_add_test_root_macro(share/egconfig/pythia8_userhooks_charm.C
139139
LABELS generators)
140140
endif()
141141

142-
install(FILES share/external/extgen.C share/external/pythia6.C
143-
share/external/tgenerator.C share/external/QEDLoader.C share/external/QEDepem.C
144-
share/external/trigger_multiplicity.C
145-
share/external/trigger_mpi.C
146-
DESTINATION share/Generators/external/)
147-
148-
install(FILES share/egconfig/pythia8_inel.cfg
149-
share/egconfig/pythia8_hf.cfg
150-
share/egconfig/pythia8_hi.cfg
151-
share/egconfig/pythia8_userhooks_charm.C
152-
DESTINATION share/Generators/egconfig/)
153-
154-
install(FILES share/pythia8/decays/base.cfg
155-
share/pythia8/decays/bjpsidimuon.cfg
156-
DESTINATION share/Generators/pythia8/decays/)
157-
158-
142+
o2_data_file(COPY share/external DESTINATION Generators)
143+
o2_data_file(COPY share/egconfig DESTINATION Generators)
144+
o2_data_file(COPY share/pythia8 DESTINATION Generators)

0 commit comments

Comments
 (0)