forked from Mirrors/openclonk
Mark thirdparty as system headers so we don't get warnings from there
thirdparty needs to be pristine code so we can update those libraries without having to figure out whether we need to apply some more patches. This means we can't easily fix warnings in there; telling GCC that these are system headers means it won't emit any.issue1247
parent
bf1e02872d
commit
e4fea50a9a
|
@ -748,6 +748,10 @@ include_directories(
|
|||
${CMAKE_CURRENT_SOURCE_DIR}/src/player
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/res
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/src/script
|
||||
)
|
||||
|
||||
# Mark thirdparty as system headers so we don't get warnings from them
|
||||
include_directories(SYSTEM
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/thirdparty
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue