[Build] Mark third-party includes as SYSTEM to suppress warnings
Prevents -Werror from failing on warnings in code we don't control
This commit is contained in:
@@ -78,6 +78,9 @@ include_directories(
|
|||||||
${PROJECT_SOURCE_DIR}
|
${PROJECT_SOURCE_DIR}
|
||||||
${PROJECT_SOURCE_DIR}/src
|
${PROJECT_SOURCE_DIR}/src
|
||||||
${CMAKE_BINARY_DIR}
|
${CMAKE_BINARY_DIR}
|
||||||
|
)
|
||||||
|
# Third-party headers as SYSTEM to suppress warnings under -Werror
|
||||||
|
include_directories(SYSTEM
|
||||||
${PROJECT_SOURCE_DIR}/third_party
|
${PROJECT_SOURCE_DIR}/third_party
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user