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} )