summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-10-21 05:59:37 +0200
committerGitHub <noreply@github.com>2020-10-21 05:59:37 +0200
commit1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c (patch)
tree46567b067e4ebd7bb03e270bf85d461a3be04694 /src
parentcore: Fix clang build pt.2 (diff)
parentvideo_core: Conditially activate relevant compiler warnings (diff)
downloadyuzu-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.txt6
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()