From 51bc79bffa34c8daefbe94122911e825c4c9b3e1 Mon Sep 17 00:00:00 2001 From: Florian Uhlig <f.uhlig@gsi.de> Date: Tue, 1 Dec 2020 15:18:02 +0100 Subject: [PATCH] Fix library dependencies --- core/qa/CMakeLists.txt | 2 +- reco/base/CMakeLists.txt | 2 +- reco/calibration/CMakeLists.txt | 2 +- reco/calibration/CbmRecoCalLinkDef.h | 2 ++ reco/tracking/global/CMakeLists.txt | 3 ++- sim/detectors/psd/CMakeLists.txt | 2 +- 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/core/qa/CMakeLists.txt b/core/qa/CMakeLists.txt index 7bfffef677..80589aa5a5 100644 --- a/core/qa/CMakeLists.txt +++ b/core/qa/CMakeLists.txt @@ -26,6 +26,6 @@ CbmQaHist.cxx set(LINKDEF CbmQaBaseLinkDef.h) Set(LIBRARY_NAME CbmQaBase) -Set(DEPENDENCIES) +Set(DEPENDENCIES Hist Gpad) GENERATE_LIBRARY() diff --git a/reco/base/CMakeLists.txt b/reco/base/CMakeLists.txt index 43b1f11484..1193800963 100644 --- a/reco/base/CMakeLists.txt +++ b/reco/base/CMakeLists.txt @@ -67,7 +67,7 @@ ${Boost_LIBRARY_DIRS} Set(DEPENDENCIES fles_ipc Base -#CbmBase +CbmBase #CbmData ) # --------------------------------------------------------- diff --git a/reco/calibration/CMakeLists.txt b/reco/calibration/CMakeLists.txt index f06b141c80..0224ba9a41 100644 --- a/reco/calibration/CMakeLists.txt +++ b/reco/calibration/CMakeLists.txt @@ -51,7 +51,7 @@ ${Boost_LIBRARY_DIRS} # ----- Library dependences --------------------------- Set(DEPENDENCIES -#CbmBase +CbmBase CbmData CbmRecoBase ) diff --git a/reco/calibration/CbmRecoCalLinkDef.h b/reco/calibration/CbmRecoCalLinkDef.h index 41ba59cf27..50a1b994be 100644 --- a/reco/calibration/CbmRecoCalLinkDef.h +++ b/reco/calibration/CbmRecoCalLinkDef.h @@ -10,6 +10,8 @@ // --- calibration templates #pragma link C++ class CbmOffsetDigiTime \ < CbmStsDigi> + ; // <= Template specialization +#pragma link C++ class CbmOffsetDigiTime \ + < CbmTofDigi> + ; // <= Template specialization #pragma link C++ class CbmOffsetDigiTime \ < CbmMuchBeamTimeDigi> + ; // <= Template specialization diff --git a/reco/tracking/global/CMakeLists.txt b/reco/tracking/global/CMakeLists.txt index 36a24441e7..2a5921fa9c 100755 --- a/reco/tracking/global/CMakeLists.txt +++ b/reco/tracking/global/CMakeLists.txt @@ -40,6 +40,7 @@ Set(LINK_DIRECTORIES ${ROOT_LIBRARY_DIR} ${FAIRROOT_LIBRARY_DIR} ${Boost_LIBRARY_DIRS} + ${KFParticle_LIB_DIR} ) Link_Directories( ${LINK_DIRECTORIES}) @@ -56,7 +57,7 @@ Set(NO_DICT_SRCS set(LINKDEF GlobalLinkDef.h) Set(LIBRARY_NAME CbmGlobalTracking) Set(DEPENDENCIES - CbmBase CbmData Base CbmMuchBase + CbmBase CbmData Base CbmMuchBase KF # CbmLitTrack CbmKF CbmRun ???? ) diff --git a/sim/detectors/psd/CMakeLists.txt b/sim/detectors/psd/CMakeLists.txt index abf64bfc45..bd1f96661d 100644 --- a/sim/detectors/psd/CMakeLists.txt +++ b/sim/detectors/psd/CMakeLists.txt @@ -33,7 +33,7 @@ set(SRCS set(LINKDEF CbmPsdSimLinkDef.h) set(LIBRARY_NAME CbmPsdSim) set(DEPENDENCIES - CbmData CbmBase Base + CbmSimBase CbmData CbmBase Base ) GENERATE_LIBRARY() -- GitLab