Skip to content

Commit 338aa08

Browse files
committed
Fix CMake warnings
1 parent 978eb74 commit 338aa08

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Steer/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ o2_target_root_dictionary(Steer
3434
include/Steer/MCKinematicsReader.h
3535
include/Steer/MaterialBudgetMap.h)
3636
o2_add_test(InteractionSampler
37+
COMPONENT_NAME steer
3738
PUBLIC_LINK_LIBRARIES O2::SimulationDataFormat
3839
SOURCES test/testInteractionSampler.cxx
3940
LABELS steer)
4041

4142
o2_add_test(HitProcessingManager
43+
COMPONENT_NAME steer
4244
PUBLIC_LINK_LIBRARIES O2::Steer
4345
SOURCES test/testHitProcessingManager.cxx
4446
LABELS steer)

run/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ set_property(TEST o2sim_G4 APPEND PROPERTY ENVIRONMENT ${G4ENV})
229229

230230

231231
o2_add_test(CheckStackG4
232+
COMPONENT_NAME sim
232233
SOURCES checkStack.cxx
233234
NAME o2sim_checksimkinematics_G4
234235
WORKING_DIRECTORY ${SIMTESTDIR}
@@ -276,6 +277,7 @@ set_tests_properties(o2sim_G3
276277
G3)
277278

278279
o2_add_test(CheckStackG3
280+
COMPONENT_NAME sim
279281
SOURCES checkStack.cxx
280282
NAME o2sim_checksimkinematics_G3
281283
WORKING_DIRECTORY ${SIMTESTDIR}

0 commit comments

Comments
 (0)