diff options
author | bunnei <bunneidev@gmail.com> | 2020-10-21 05:59:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 05:59:37 +0200 |
commit | 1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c (patch) | |
tree | 46567b067e4ebd7bb03e270bf85d461a3be04694 /src | |
parent | core: Fix clang build pt.2 (diff) | |
parent | video_core: Conditially activate relevant compiler warnings (diff) | |
download | yuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.tar yuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.tar.gz yuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.tar.bz2 yuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.tar.lz yuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.tar.xz yuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.tar.zst yuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index 3df54816d..77ebac19f 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -278,7 +278,9 @@ else() -Wno-error=sign-conversion -Werror=switch -Werror=unused-variable - -Werror=unused-but-set-variable - -Werror=class-memaccess + + $<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess> + $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> + $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> ) endif() |