From cb2899c3e848b3ff87ad2a498d6455381193e141 Mon Sep 17 00:00:00 2001
From: Tobias Triffterer <tobias@ep1.ruhr-uni-bochum.de>
Date: Thu, 29 Apr 2021 15:23:00 +0200
Subject: [PATCH] Add __ROOFIT_NOBANNER Definition to RooFitCore
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This compiler flag — foreseen by the original authors — stops RooFit
from displaying its banner in front of the banner and license
information of the main application
---
 roofit/roofitcore/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/roofit/roofitcore/CMakeLists.txt b/roofit/roofitcore/CMakeLists.txt
index 92dc05edf7b..3115c056ee2 100644
--- a/roofit/roofitcore/CMakeLists.txt
+++ b/roofit/roofitcore/CMakeLists.txt
@@ -471,4 +471,8 @@ foreach(incl ${fitcore_incl})
    target_include_directories(RooFitCore PUBLIC $<BUILD_INTERFACE:${incl}>)
 endforeach()
 
+# Modification for Fp311Online@Ruhr-Universität Bochum
+target_compile_definitions(RooFitCore PRIVATE __ROOFIT_NOBANNER)
+# End of modification
+
 ROOT_ADD_TEST_SUBDIRECTORY(test)
-- 
GitLab