mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-17 04:02:50 +00:00
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:
commit
421a9f1990
1 changed files with 5 additions and 0 deletions
|
|
@ -513,6 +513,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…
Add table
Reference in a new issue