1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 23:53:52 +00:00

Mark OpenSceneGraph include directories as system

To avoid warnings spam when use custom build.
This commit is contained in:
elsid 2019-03-09 17:19:54 +03:00
parent 573e64e9c9
commit a979d24bf3
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40

View file

@ -257,7 +257,7 @@ endif()
find_package(OpenSceneGraph 3.3.4 REQUIRED osgDB osgViewer osgText osgGA osgParticle osgUtil osgFX osgShadow) 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 set(USED_OSG_PLUGINS
osgdb_bmp osgdb_bmp