From ee5b38796e458ad079da27dc070ca9936bcd9f6f Mon Sep 17 00:00:00 2001
From: Stephen Nicholas Swatman <stephen.nicholas.swatman@cern.ch>
Date: Fri, 13 Nov 2020 18:28:48 +0100
Subject: [PATCH] Link TrkExTools and Utils with pattern parameters

The track extrapolation packages TrkExTools and TrkExUtils are related
to the pattern track parameters, but neither of these packages are
properly linked against the pattern track parameter packages. This
commit ensures that both of these packages are linked publicly against
the pattern parameters. This was not giving problems before - I'm not
exactly sure why, but I ran into linking problems with some changes to
the pattern code.
---
 Tracking/TrkExtrapolation/TrkExTools/CMakeLists.txt | 1 +
 Tracking/TrkExtrapolation/TrkExUtils/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Tracking/TrkExtrapolation/TrkExTools/CMakeLists.txt b/Tracking/TrkExtrapolation/TrkExTools/CMakeLists.txt
index 3e9cef7b0d7..5c4e87a3242 100644
--- a/Tracking/TrkExtrapolation/TrkExTools/CMakeLists.txt
+++ b/Tracking/TrkExtrapolation/TrkExTools/CMakeLists.txt
@@ -15,6 +15,7 @@ atlas_add_component( TrkExTools
                      LINK_LIBRARIES ${Boost_LIBRARIES} ${CLHEP_LIBRARIES} AthenaBaseComps AthenaKernel GeoPrimitives
 		             EventPrimitives xAODTracking GaudiKernel TrkDetDescrUtils TrkGeometry TrkSurfaces TrkVolumes TrkEventPrimitives
 		             TrkNeutralParameters TrkParameters TrkExInterfaces TrkExUtils AthContainers CxxUtils TrkDetDescrInterfaces TrkEventUtils
+		             TrkPatternParameters
 		             TrkMaterialOnTrack TrkParticleBase TrkTrack StoreGateLib )
 
 # Install files from the package:
diff --git a/Tracking/TrkExtrapolation/TrkExUtils/CMakeLists.txt b/Tracking/TrkExtrapolation/TrkExUtils/CMakeLists.txt
index 5de11cd06e1..179d4ac03f0 100644
--- a/Tracking/TrkExtrapolation/TrkExUtils/CMakeLists.txt
+++ b/Tracking/TrkExtrapolation/TrkExUtils/CMakeLists.txt
@@ -9,4 +9,4 @@ atlas_add_library( TrkExUtils
                    PUBLIC_HEADERS TrkExUtils
                    LINK_LIBRARIES GeoPrimitives EventPrimitives GaudiKernel TrkDetDescrUtils TrkGeometry
 		           TrkSurfaces TrkEventPrimitives TrkMaterialOnTrack TrkNeutralParameters TrkParameters CxxUtils
-                   PRIVATE_LINK_LIBRARIES TrkPatternParameters )
+                   TrkPatternParameters )
-- 
GitLab