[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:
Herman S.
2026-03-26 23:18:42 +09:00
parent 78600212b2
commit 5fcb6985e7

View File

@@ -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
) )