From a979d24bf33b4413518a1d18b24899340845f04f Mon Sep 17 00:00:00 2001 From: elsid Date: Sat, 9 Mar 2019 17:19:54 +0300 Subject: [PATCH] Mark OpenSceneGraph include directories as system To avoid warnings spam when use custom build. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 795a7d3090..c34ef975b2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -257,7 +257,7 @@ endif() find_package(OpenSceneGraph 3.3.4 REQUIRED osgDB osgViewer osgText osgGA osgParticle osgUtil osgFX osgShadow) -include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}) +include_directories(SYSTEM ${OPENSCENEGRAPH_INCLUDE_DIRS}) set(USED_OSG_PLUGINS osgdb_bmp