Skip to content

Commit e02ff4d

Browse files
committed
fix linking issue
1 parent 2eaaf76 commit e02ff4d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

macro/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ endif()
124124
o2_add_test_root_macro(build_geometry.C
125125
PUBLIC_LINK_LIBRARIES O2::SimConfig
126126
O2::DetectorsPassive
127+
O2::ExternalDetectors
127128
O2::Field
128129
O2::MFTSimulation
129130
O2::MCHSimulation
@@ -183,6 +184,7 @@ if(Geant4_FOUND AND BUILD_SIMULATION)
183184
o2_add_test_root_macro(o2sim.C
184185
PUBLIC_LINK_LIBRARIES O2::Generators
185186
O2::DetectorsPassive
187+
O2::ExternalDetectors
186188
O2::Field
187189
O2::MFTSimulation
188190
O2::MCHSimulation

macro/build_geometry.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include <CPVSimulation/Detector.h>
3939
#include <ZDCSimulation/Detector.h>
4040
#include <FOCALSimulation/Detector.h>
41+
#include <ExternalDetectors/ExternalDetector.h>
4142
#include <DetectorsPassive/Cave.h>
4243
#include <DetectorsPassive/FrameStructure.h>
4344
#include <SimConfig/SimConfig.h>
@@ -63,7 +64,6 @@
6364
#endif
6465

6566
#include <DetectorsPassive/ExternalModule.h>
66-
#include <ExternalDetectors/ExternalDetector.h>
6767

6868
using Return = o2::base::Detector*;
6969

0 commit comments

Comments
 (0)