From 5a2f32a61ba7dbcd67e362cd85817847c81ff3a8 Mon Sep 17 00:00:00 2001
From: Guilherme Amadio <amadio@cern.ch>
Date: Mon, 1 Oct 2018 08:34:09 +0200
Subject: [PATCH] Propagate Pythia8 include directory to rootcling

---
 montecarlo/pythia8/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/montecarlo/pythia8/CMakeLists.txt b/montecarlo/pythia8/CMakeLists.txt
index c401d9264dd..a64465cd2b1 100644
--- a/montecarlo/pythia8/CMakeLists.txt
+++ b/montecarlo/pythia8/CMakeLists.txt
@@ -10,6 +10,8 @@ ROOT_STANDARD_LIBRARY_PACKAGE(EGPythia8
   SOURCES
     TPythia8.cxx
     TPythia8Decayer.cxx
+  DICTIONARY_OPTIONS
+    -I${PYTHIA8_INCLUDE_DIR}
   DEPENDENCIES
     Core
     EG
-- 
GitLab