From 36f0a2ee5bb8e3d93a0f6a0859b592cbf6e26b2d Mon Sep 17 00:00:00 2001 From: scott snyder <sss@karma> Date: Thu, 21 May 2020 16:38:10 +0200 Subject: [PATCH] xAODJetCnv: cmake fixes Define an interface library for headers exported from this package. --- Event/xAOD/xAODJetCnv/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Event/xAOD/xAODJetCnv/CMakeLists.txt b/Event/xAOD/xAODJetCnv/CMakeLists.txt index a9b0bfcd348..ebe42202f99 100644 --- a/Event/xAOD/xAODJetCnv/CMakeLists.txt +++ b/Event/xAOD/xAODJetCnv/CMakeLists.txt @@ -17,14 +17,20 @@ atlas_depends_on_subdirs( PUBLIC Control/StoreGate Reconstruction/Jet/JetEvent ) +atlas_add_library( xAODJetCnvLib + xAODJetCnv/*.h + INTERFACE + PUBLIC_HEADERS xAODJetCnv + LINK_LIBRARIES GaudiKernel xAODJet xAODBase AthLinks ) + + # Component(s) in the package: atlas_add_component( xAODJetCnv src/*.cxx src/components/*.cxx - LINK_LIBRARIES AthLinks xAODBase xAODJet GaudiKernel AthenaBaseComps AthenaKernel StoreGateLib SGtests JetEvent ) + LINK_LIBRARIES xAODJetCnvLib xAODJet GaudiKernel AthenaBaseComps AthenaKernel StoreGateLib SGtests JetEvent ) # Install files from the package: -atlas_install_headers( xAODJetCnv ) atlas_install_python_modules( python/*.py ) atlas_install_joboptions( share/*.py ) -- GitLab