From ded1441a2dae7fc68e26d2622fca7774dde64dd6 Mon Sep 17 00:00:00 2001
From: Marco Cattaneo <marco.cattaneo@cern.ch>
Date: Wed, 21 Apr 2021 12:08:39 +0200
Subject: [PATCH] Suppress compilation warnings from Boost and ROOT

---
 Phys/StrippingCache/CMakeLists.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Phys/StrippingCache/CMakeLists.txt b/Phys/StrippingCache/CMakeLists.txt
index f8ac9d692..1f939f3e5 100644
--- a/Phys/StrippingCache/CMakeLists.txt
+++ b/Phys/StrippingCache/CMakeLists.txt
@@ -1,5 +1,5 @@
 ###############################################################################
-# (c) Copyright 2000-2019 CERN for the benefit of the LHCb Collaboration      #
+# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration      #
 #                                                                             #
 # This software is distributed under the terms of the GNU General Public      #
 # Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".   #
@@ -27,6 +27,11 @@ gaudi_depends_on_subdirs(Phys/DaVinci
                          Phys/IsolationTools
                          Phys/RelatedInfoTools)
 
+## Hide compilation warnings
+find_package(Boost)
+find_package(ROOT)
+include_directories(SYSTEM ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS})
+
 set(extraopts_32
     ${AppConfig_DIR}/options/DaVinci/DataType-2017.py
     )
-- 
GitLab