From 8cc3963ca858fe400f2adac275407711bedc833b Mon Sep 17 00:00:00 2001
From: scott snyder <sss@karma>
Date: Fri, 10 Jul 2020 15:43:58 -0400
Subject: [PATCH] MSVertexToolInterfaces: cmake fixes

Define an interface library for exported headers.
---
 .../MSVertexToolInterfaces/CMakeLists.txt                 | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/MuonSpectrometer/MSVertexReconstruction/MSVertexToolInterfaces/CMakeLists.txt b/MuonSpectrometer/MSVertexReconstruction/MSVertexToolInterfaces/CMakeLists.txt
index 91d9049a2d16..d8b1501b9139 100644
--- a/MuonSpectrometer/MSVertexReconstruction/MSVertexToolInterfaces/CMakeLists.txt
+++ b/MuonSpectrometer/MSVertexReconstruction/MSVertexToolInterfaces/CMakeLists.txt
@@ -10,6 +10,10 @@ atlas_depends_on_subdirs( PUBLIC
                           GaudiKernel
                           MuonSpectrometer/MSVertexReconstruction/MSVertexUtils )
 
-# Install files from the package:
-atlas_install_headers( MSVertexToolInterfaces )
+atlas_add_library( MSVertexToolInterfaces
+                   MSVertexToolInterfaces/*.h
+                   INTERFACE
+                   PUBLIC_HEADERS MSVertexToolInterfaces
+                   LINK_LIBRARIES GaudiKernel MSVertexUtils )
+
 
-- 
GitLab