Skip to content

Commit e603313

Browse files
committed
Fixing CMakeLists to actually have the correct links for the code to work!
1 parent dc178be commit e603313

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PWGLF/Tasks/Strangeness/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ o2physics_add_dpl_workflow(lambdapolarization
9494
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
9595
COMPONENT_NAME Analysis)
9696

97-
o2physics_add_dpl_workflow(lambdaInvMassTest
97+
o2physics_add_dpl_workflow(lambdainvmasstest
9898
SOURCES lambdaInvMassTest.cxx
99-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
99+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::MLCore O2Physics::AnalysisCCDB
100100
COMPONENT_NAME Analysis)
101101

102102
o2physics_add_dpl_workflow(lambdapolsp

PWGLF/Tasks/Strangeness/lambdaInvMassTest.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#include "Common/DataModel/PIDResponse.h"
3434
#include "Common/DataModel/TrackSelectionTables.h"
3535
#include "Tools/ML/MlResponse.h"
36-
#include "Tools/ML/model.h"
36+
#include "Tools/ML/model.h" // This actually needs ONNX to be installed in the system! Or, at least, you should link the libraries properly in the CMakeLists.txt
3737

3838
#include "CommonConstants/MathConstants.h"
3939
#include "CommonConstants/PhysicsConstants.h"

0 commit comments

Comments
 (0)