diff options
| author | Nicky <nicky.dasmijn@gmail.com> | 2022-04-17 18:04:57 +0200 |
|---|---|---|
| committer | Nicky <nicky.dasmijn@gmail.com> | 2022-04-17 18:04:57 +0200 |
| commit | e0cf0cdfd49e5a946dcd202a083fb23f01e4f1fe (patch) | |
| tree | 52edc824cb295c92f668b7912e7fbcbf272132aa /indra/cmake/Hunspell.cmake | |
| parent | 6d0bba9c03da0d8aca5e88fcb9289cb2f89f3467 (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/cmake/Hunspell.cmake')
| -rw-r--r-- | indra/cmake/Hunspell.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/Hunspell.cmake b/indra/cmake/Hunspell.cmake index e4352c6967..0994d2b5f4 100644 --- a/indra/cmake/Hunspell.cmake +++ b/indra/cmake/Hunspell.cmake @@ -12,5 +12,5 @@ elseif(DARWIN) elseif(LINUX) target_link_libraries( ll::hunspell INTERFACE hunspell-1.3) endif() -set_target_include_dirs( ll::hunspell ${LIBS_PREBUILT_DIR}/include/hunspell) +target_include_directories( ll::hunspell SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/hunspell) use_prebuilt_binary(dictionaries) |
