[cmake,compiler] disable -Wswitch-enum warning

the warning is quite useless as we do not always list all enumerations
in a switch.
This commit is contained in:
akallabeth 2024-09-09 15:10:33 +02:00
parent 189abc73f3
commit 529ce7534b
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ if (ENABLE_WARNING_VERBOSE)
-Wall
-Wpedantic
-Wno-padded
-Wno-switch-enum
-Wno-cast-align
-Wno-declaration-after-statement
-Wno-unsafe-buffer-usage