diff --git a/algo/kfp/interface/CMakeLists.txt b/algo/kfp/interface/CMakeLists.txt
index c1eaadf76cd154a56f531a894622f3c5690a97b3..4beacabb176c8fdd9f21d310a7ffde164c2c6bd5 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