Merge branch 'max-errors' into 'master'
CMakeLists.txt: add -fmax-errors=5 for GNU See merge request KartKrew/Kart!1357
This commit is contained in:
parent
de5434ea23
commit
30e63490cd
1 changed files with 5 additions and 0 deletions
|
|
@ -328,6 +328,11 @@ target_compile_options(SRB2SDL2 PRIVATE
|
|||
$<$<AND:$<COMPILE_LANGUAGE:C>,$<C_COMPILER_ID:MSVC>>:
|
||||
/Wv:19.20.27004.0
|
||||
>
|
||||
|
||||
# GNU
|
||||
$<$<C_COMPILER_ID:GNU>:
|
||||
-fmax-errors=5
|
||||
>
|
||||
)
|
||||
if(SRB2_CONFIG_ERRORMODE)
|
||||
target_compile_options(SRB2SDL2 PRIVATE
|
||||
|
|
|
|||
Loading…
Reference in a new issue