From 88a41e0dbec2ac7731c39e4bf00c8d09bfa7dcbe Mon Sep 17 00:00:00 2001 From: Dan Guest <dguest@cern.ch> Date: Wed, 19 Mar 2025 08:56:27 +0100 Subject: [PATCH] move link libraries into component --- .../CutBookkeeperUtils/CMakeLists.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/PhysicsAnalysis/AnalysisCommon/CutBookkeeperUtils/CMakeLists.txt b/PhysicsAnalysis/AnalysisCommon/CutBookkeeperUtils/CMakeLists.txt index b420163cc2d..be6c7e625d9 100644 --- a/PhysicsAnalysis/AnalysisCommon/CutBookkeeperUtils/CMakeLists.txt +++ b/PhysicsAnalysis/AnalysisCommon/CutBookkeeperUtils/CMakeLists.txt @@ -10,13 +10,6 @@ find_package( Boost COMPONENTS json) # Add the library atlas_add_library(CutBookkeeperUtilsLib Root/OriginalAodCounts.cxx - LINK_LIBRARIES - GaudiKernel - AthenaBaseComps - PMGAnalysisInterfacesLib - xAODCutFlow - xAODMetaData - xAODTruth PUBLIC_HEADERS CutBookkeeperUtils PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} xAODCutFlow xAODRootAccess ) @@ -26,7 +19,13 @@ if (NOT XAOD_STANDALONE) src/SumWeightAlg.cxx src/components/CutBookkeeperUtils_entries.cxx LINK_LIBRARIES + xAODCutFlow + xAODMetaData + xAODTruth + PMGAnalysisInterfacesLib CutBookkeeperUtilsLib + GaudiKernel + AthenaBaseComps HDF5Utils IH5GroupSvc ${Boost_LIBRARIES} -- GitLab