diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-09-16 17:48:01 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-09-16 17:48:01 -0300 |
| commit | eb914b6c50cbd79cdc76a508ab774e54e34c9b11 (patch) | |
| tree | cba7d92a8b7250e0afd889057b08149a352ca91a /src/video_core/CMakeLists.txt | |
| parent | b0ae8265ea0aea16bfe37dce96cc3f758fd35feb (diff) | |
video_core: Enforce -Werror=switch
This forces us to fix all -Wswitch warnings in video_core.
Diffstat (limited to 'src/video_core/CMakeLists.txt')
| -rw-r--r-- | src/video_core/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index d85f1e9d1..f52b55ef3 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -269,5 +269,5 @@ endif() if (MSVC) target_compile_options(video_core PRIVATE /we4267) else() - target_compile_options(video_core PRIVATE -Werror=conversion -Wno-error=sign-conversion) + target_compile_options(video_core PRIVATE -Werror=conversion -Wno-error=sign-conversion -Werror=switch) endif() |
