summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-21 04:15:59 +0200
committerLioncash <mathew1800@gmail.com>2020-10-21 04:16:03 +0200
commite408bd3b7ce0f584475da88a770319bccca780b4 (patch)
tree2d74f06d232f51c0255d3a440b4b12ff3e0a71db /src/core
parentMerge pull request #4814 from yuzu-emu/revert-4796-clang (diff)
downloadyuzu-e408bd3b7ce0f584475da88a770319bccca780b4.tar
yuzu-e408bd3b7ce0f584475da88a770319bccca780b4.tar.gz
yuzu-e408bd3b7ce0f584475da88a770319bccca780b4.tar.bz2
yuzu-e408bd3b7ce0f584475da88a770319bccca780b4.tar.lz
yuzu-e408bd3b7ce0f584475da88a770319bccca780b4.tar.xz
yuzu-e408bd3b7ce0f584475da88a770319bccca780b4.tar.zst
yuzu-e408bd3b7ce0f584475da88a770319bccca780b4.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index b6dc25f6b..db1c9fdef 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -630,9 +630,12 @@ else()
-Werror=implicit-fallthrough
-Werror=reorder
-Werror=sign-compare
- -Werror=unused-but-set-parameter
- -Werror=unused-but-set-variable
-Werror=unused-variable
+
+ $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
+ $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
+
+ -Wno-sign-conversion
)
endif()