From 55f5029e8e3d79bb112cdc506096dcc6f981661f Mon Sep 17 00:00:00 2001 From: tmadlener Date: Thu, 22 Aug 2024 14:04:56 +0200 Subject: [PATCH] Avoid emitting warnings from ROOT --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ad45b67..9f0208b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ ADD_DEFINITIONS( ${Marlin_DEFINITIONS} ) FIND_PACKAGE( ROOT REQUIRED ) -INCLUDE_DIRECTORIES( ${ROOT_INCLUDE_DIRS} ) +INCLUDE_DIRECTORIES( SYSTEM ${ROOT_INCLUDE_DIRS} ) LINK_LIBRARIES( ${ROOT_LIBRARIES} ) ADD_DEFINITIONS( ${ROOT_DEFINITIONS} )