mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Treat external includes as system libraries, so we don't get warnings
when compiling them
This commit is contained in:
parent
d611b6840f
commit
1dca9b9dbc
@ -2308,6 +2308,10 @@ target_include_directories(qgis_core PUBLIC
|
||||
validity
|
||||
vector
|
||||
vectortile
|
||||
)
|
||||
|
||||
# treat these as system libraries -- we don't want warnings from them
|
||||
target_include_directories(qgis_core SYSTEM PUBLIC
|
||||
${CMAKE_SOURCE_DIR}/external
|
||||
${CMAKE_SOURCE_DIR}/external/nlohmann
|
||||
${CMAKE_SOURCE_DIR}/external/kdbush/include
|
||||
|
Loading…
x
Reference in New Issue
Block a user