From 6896d1e740e63d5eb5288dd7174c9ec222f92ddb Mon Sep 17 00:00:00 2001 From: scott snyder <sss@karma> Date: Wed, 1 Jul 2020 17:34:07 +0200 Subject: [PATCH] MuonSegmentMakerToolInterfaces: cmake fixes Declare an interface library for the exported headers. --- .../MuonSegmentMakerToolInterfaces/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonSegmentMakerToolInterfaces/CMakeLists.txt b/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonSegmentMakerToolInterfaces/CMakeLists.txt index c3afd476ae3..c62464ff66c 100644 --- a/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonSegmentMakerToolInterfaces/CMakeLists.txt +++ b/MuonSpectrometer/MuonReconstruction/MuonSegmentMakers/MuonSegmentMakerTools/MuonSegmentMakerToolInterfaces/CMakeLists.txt @@ -22,6 +22,9 @@ atlas_depends_on_subdirs( PUBLIC # External dependencies: find_package( Eigen ) -# Install files from the package: -atlas_install_headers( MuonSegmentMakerToolInterfaces ) +atlas_add_library( MuonSegmentMakerToolInterfaces + MuonSegmentMakerToolInterfaces/*.h + INTERFACE + PUBLIC_HEADERS MuonSegmentMakerToolInterfaces + LINK_LIBRARIES GaudiKernel MuonPrepRawData TrkTruthData MuonRIO_OnTrack TrkSegment MuonPattern MuonSegment MuonLayerEvent MuonRecToolInterfaces Identifier MuonEDM_AssociationObjects GeoPrimitives EventPrimitives ) -- GitLab