summaryrefslogtreecommitdiff
path: root/indra/media_plugins/base
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-17 18:04:57 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-17 18:04:57 +0200
commite0cf0cdfd49e5a946dcd202a083fb23f01e4f1fe (patch)
tree52edc824cb295c92f668b7912e7fbcbf272132aa /indra/media_plugins/base
parent6d0bba9c03da0d8aca5e88fcb9289cb2f89f3467 (diff)
Switch to target_include_directories
All 3Ps include dirs are treated as SYSTEM, this will stop compilers stop emitting warnings from those files and greatly helps having high warning levels and not being swamped by warnings that come from external libraries.
Diffstat (limited to 'indra/media_plugins/base')
-rw-r--r--indra/media_plugins/base/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/media_plugins/base/CMakeLists.txt b/indra/media_plugins/base/CMakeLists.txt
index 9da249bd27..64b6a4228d 100644
--- a/indra/media_plugins/base/CMakeLists.txt
+++ b/indra/media_plugins/base/CMakeLists.txt
@@ -35,4 +35,4 @@ add_library(media_plugin_base
)
target_link_libraries( media_plugin_base llplugin )
-set_target_include_dirs(media_plugin_base ${CMAKE_CURRENT_SOURCE_DIR})
+target_include_directories( media_plugin_base INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})