From 43a1606cc03537efa9a9fa013438c3cc6e793525 Mon Sep 17 00:00:00 2001
From: Marco Cattaneo <marco.cattaneo@cern.ch>
Date: Wed, 11 Apr 2018 16:42:08 +0200
Subject: [PATCH] Add PartProp dependency to follow LHCb 1223

---
 Pr/PrVeloUT/CMakeLists.txt           | 3 ++-
 Tf/PatVelo/CMakeLists.txt            | 3 ++-
 Tf/PatVeloTT/CMakeLists.txt          | 3 ++-
 Tr/TrackExtrapolators/CMakeLists.txt | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Pr/PrVeloUT/CMakeLists.txt b/Pr/PrVeloUT/CMakeLists.txt
index 3abe6b0ed8b..0c7f57b9e21 100644
--- a/Pr/PrVeloUT/CMakeLists.txt
+++ b/Pr/PrVeloUT/CMakeLists.txt
@@ -6,6 +6,7 @@ gaudi_subdir(PrVeloUT v2r4)
 gaudi_depends_on_subdirs(Det/STDet
                          Event/DigiEvent
                          Event/TrackEvent
+                         Kernel/PartProp
                          Pr/PrKernel
 			 Tf/TfKernel
 			 Tr/TrackInterfaces)
@@ -19,7 +20,7 @@ include_directories(SYSTEM ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS})
 gaudi_add_module(PrVeloUT
                  src/*.cpp
                  INCLUDE_DIRS Event/DigiEvent Pr/PrKernel Tf/TfKernel Tr/TrackInterfaces VDT
-                 LINK_LIBRARIES STDetLib TrackEvent)
+                 LINK_LIBRARIES STDetLib PartPropLib TrackEvent)
 
 gaudi_install_python_modules()
 
diff --git a/Tf/PatVelo/CMakeLists.txt b/Tf/PatVelo/CMakeLists.txt
index 7e69d03d868..dcb6ad4cc18 100644
--- a/Tf/PatVelo/CMakeLists.txt
+++ b/Tf/PatVelo/CMakeLists.txt
@@ -8,6 +8,7 @@ gaudi_depends_on_subdirs(Det/VeloDet
                          Event/TrackEvent
                          GaudiAlg
                          Kernel/LHCbMath
+			 Kernel/PartProp
                          Tf/PatKernel
                          Tf/TfKernel
                          Tf/TfTools
@@ -22,5 +23,5 @@ include_directories(SYSTEM ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS})
 gaudi_add_module(PatVelo
                  src/*.cpp
                  INCLUDE_DIRS Event/DigiEvent Tf/PatKernel Tf/TfKernel Tr/TrackInterfaces AIDA
-                 LINK_LIBRARIES VeloDetLib TrackEvent GaudiAlgLib LHCbMathLib)
+                 LINK_LIBRARIES VeloDetLib TrackEvent GaudiAlgLib LHCbMathLib PartPropLib)
 
diff --git a/Tf/PatVeloTT/CMakeLists.txt b/Tf/PatVeloTT/CMakeLists.txt
index fff899e597a..a8586ac7b2d 100644
--- a/Tf/PatVeloTT/CMakeLists.txt
+++ b/Tf/PatVeloTT/CMakeLists.txt
@@ -6,6 +6,7 @@ gaudi_subdir(PatVeloTT v4r9)
 gaudi_depends_on_subdirs(Det/STDet
                          Event/DigiEvent
                          Event/TrackEvent
+                         Kernel/PartProp
                          Tf/PatKernel
                          Tf/TfKernel
                          Tr/TrackInterfaces)
@@ -19,7 +20,7 @@ include_directories(SYSTEM ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS})
 gaudi_add_module(PatVeloTT
                  src/*.cpp
                  INCLUDE_DIRS Event/DigiEvent Tf/PatKernel Tf/TfKernel Tr/TrackInterfaces VDT Boost
-                 LINK_LIBRARIES STDetLib TrackEvent VDT)
+                 LINK_LIBRARIES STDetLib TrackEvent PartPropLib VDT)
 
 gaudi_install_python_modules()
 
diff --git a/Tr/TrackExtrapolators/CMakeLists.txt b/Tr/TrackExtrapolators/CMakeLists.txt
index 93591815312..1ace1310b07 100644
--- a/Tr/TrackExtrapolators/CMakeLists.txt
+++ b/Tr/TrackExtrapolators/CMakeLists.txt
@@ -5,6 +5,7 @@ gaudi_subdir(TrackExtrapolators v2r42)
 
 gaudi_depends_on_subdirs(Det/DetDesc
                          Event/TrackEvent
+                         Kernel/PartProp
                          GaudiAlg
                          Tr/TrackInterfaces
                          Tr/TrackKernel)
@@ -19,4 +20,4 @@ include_directories(SYSTEM ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${EIGEN_IN
 gaudi_add_module(TrackExtrapolators
                  src/*.cpp
                  INCLUDE_DIRS GSL Eigen Tr/TrackInterfaces
-                 LINK_LIBRARIES GSL DetDescLib TrackEvent GaudiAlgLib TrackKernel)
+                 LINK_LIBRARIES GSL DetDescLib PartPropLib TrackEvent GaudiAlgLib TrackKernel)
-- 
GitLab