Mark OpenSceneGraph include directories as system

To avoid warnings spam when use custom build.
pull/541/head
elsid 6 years ago
parent 573e64e9c9
commit a979d24bf3
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

@ -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

Loading…
Cancel
Save