summaryrefslogtreecommitdiff
path: root/indra/llappearance
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/llappearance
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/llappearance')
-rw-r--r--indra/llappearance/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llappearance/CMakeLists.txt b/indra/llappearance/CMakeLists.txt
index 321c1e1798..4516a95d80 100644
--- a/indra/llappearance/CMakeLists.txt
+++ b/indra/llappearance/CMakeLists.txt
@@ -71,11 +71,11 @@ target_link_libraries(llappearance
llcorehttp
llcommon
)
-set_target_include_dirs( llappearance ${CMAKE_CURRENT_SOURCE_DIR})
+target_include_directories( llappearance INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
if (BUILD_HEADLESS)
add_library (llappearanceheadless ${llappearance_SOURCE_FILES})
- set_target_include_dirs( llappearanceheadless ${CMAKE_CURRENT_SOURCE_DIR})
+ target_include_directories( llappearanceheadless INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(llappearanceheadless
llcharacter