mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04: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
|
validity
|
||||||
vector
|
vector
|
||||||
vectortile
|
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
|
||||||
${CMAKE_SOURCE_DIR}/external/nlohmann
|
${CMAKE_SOURCE_DIR}/external/nlohmann
|
||||||
${CMAKE_SOURCE_DIR}/external/kdbush/include
|
${CMAKE_SOURCE_DIR}/external/kdbush/include
|
||||||
|
Loading…
x
Reference in New Issue
Block a user