From 6a8995ebee58ef226ce6d7f633acfa45a90fa3ae Mon Sep 17 00:00:00 2001 From: scott snyder <sss@karma> Date: Tue, 30 Jun 2020 20:00:18 +0200 Subject: [PATCH] MuonPrdSelector: cmake fixes Declare an interface library for exported headers. --- MuonSpectrometer/MuonCnv/MuonPrdSelector/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/MuonSpectrometer/MuonCnv/MuonPrdSelector/CMakeLists.txt b/MuonSpectrometer/MuonCnv/MuonPrdSelector/CMakeLists.txt index b9a9823d63a..1609374190c 100644 --- a/MuonSpectrometer/MuonCnv/MuonPrdSelector/CMakeLists.txt +++ b/MuonSpectrometer/MuonCnv/MuonPrdSelector/CMakeLists.txt @@ -18,13 +18,18 @@ atlas_depends_on_subdirs( PUBLIC MuonSpectrometer/MuonDetDescr/MuonReadoutGeometry MuonSpectrometer/MuonIdHelpers ) +atlas_add_library( MuonPrdSelectorLib + MuonPrdSelector/*.h + INTERFACE + PUBLIC_HEADERS MuonPrdSelector + LINK_LIBRARIES GaudiKernel MuonCalibToolsLib MuonCalibIdentifier Identifier AthenaBaseComps MuonCalibToolsLib MuonIdHelpersLib MuonPrepRawData ) + # Component(s) in the package: atlas_add_component( MuonPrdSelector src/*.cxx src/components/*.cxx - LINK_LIBRARIES AthenaBaseComps StoreGateLib SGtests Identifier GaudiKernel MuonCalibIdentifier MuonCalibToolsLib MuonPrepRawData MuonReadoutGeometry MuonIdHelpersLib ) + LINK_LIBRARIES MuonPrdSelectorLib StoreGateLib SGtests MuonReadoutGeometry ) # Install files from the package: -atlas_install_headers( MuonPrdSelector ) atlas_install_joboptions( share/*.py ) -- GitLab