Skip to content

Commit d83620a

Browse files
mconcasBenedikt Volkel
authored andcommitted
Correctly set WITH_OPENMP to ITS tracking lib
(cherry picked from commit 62859c8)
1 parent 77ec0e2 commit d83620a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Detectors/ITSMFT/ITS/tracking/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ o2_add_library(ITStracking
3838
O2::DataFormatsITS)
3939

4040

41+
if (OpenMP_CXX_FOUND)
42+
target_compile_definitions(${targetName} PRIVATE WITH_OPENMP)
43+
target_link_libraries(${targetName} PRIVATE OpenMP::OpenMP_CXX)
44+
endif()
45+
4146
o2_add_library(ITSTrackingInterface
4247
TARGETVARNAME targetName
4348
SOURCES src/TrackingInterface.cxx

Detectors/ITSMFT/ITS/tracking/src/TrackerTraits.cxx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,10 +1031,5 @@ void TrackerTraits::adoptTimeFrame(TimeFrame* tf)
10311031
mTimeFrame = tf;
10321032
}
10331033

1034-
// bool TrackerTraits::checkTFMemory(const int iteration)
1035-
// {
1036-
// return mTimeFrame->checkMemory(mTrkParams[iteration].MaxMemory);
1037-
// }
1038-
10391034
} // namespace its
10401035
} // namespace o2

0 commit comments

Comments
 (0)