From 3614fb4ed51db87889e57c87cdfc4ac8b1ad8540 Mon Sep 17 00:00:00 2001 From: "s.zharko@gsi.de" <s.zharko@gsi.de> Date: Sat, 15 Feb 2025 10:03:44 +0100 Subject: [PATCH] Removing ROOT library linking to CbmKFParticleOnlineInterface --- algo/kfp/interface/CMakeLists.txt | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/algo/kfp/interface/CMakeLists.txt b/algo/kfp/interface/CMakeLists.txt index c1eaadf76..4beacabb1 100644 --- a/algo/kfp/interface/CMakeLists.txt +++ b/algo/kfp/interface/CMakeLists.txt @@ -1,25 +1,14 @@ if(NOT CBM_ONLINE_STANDALONE) ### CbmKFParticleOnlineInterface + # Just reusing the KFParticle library, compiled in the external add_library(CbmKFParticleOnlineInterface INTERFACE) target_include_directories(CbmKFParticleOnlineInterface INTERFACE) target_compile_definitions(CbmKFParticleOnlineInterface INTERFACE DO_TPCCATRACKER_EFF_PERFORMANCE NonhomogeneousField CBM USE_TIMERS) - target_link_libraries(CbmKFParticleOnlineInterface - INTERFACE KFParticle - ROOT::Core - ROOT::Hist - ROOT::MathCore - ROOT::Gpad - ROOT::Graf - ROOT::Physics - ROOT::EG - ROOT::RIO - ROOT::Tree - ROOT::MathCore - ) + target_link_libraries(CbmKFParticleOnlineInterface INTERFACE KFParticle) install(TARGETS CbmKFParticleOnlineInterface DESTINATION lib) else() - # Creating a replacement of the CbmKFParticleOnlineInterface library for a standalone mode + # Creating a replacement of the KFParticle library for a standalone mode set(KFP_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../external/KFParticle/KFParticle) set(SRCS -- GitLab