summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2020-11-26 03:09:13 +0100
committerGitHub <noreply@github.com>2020-11-26 03:09:13 +0100
commitb70751ccb9b6251b8342ec3edad193168084e5bc (patch)
tree21b2d6aaf8de5dfd2361e13c4f811602c2fe792f
parentMerge pull request #4976 from comex/poll-events (diff)
parentinput_common: ignore some Clang warnings after 5c4774e8ce1d (diff)
downloadyuzu-b70751ccb9b6251b8342ec3edad193168084e5bc.tar
yuzu-b70751ccb9b6251b8342ec3edad193168084e5bc.tar.gz
yuzu-b70751ccb9b6251b8342ec3edad193168084e5bc.tar.bz2
yuzu-b70751ccb9b6251b8342ec3edad193168084e5bc.tar.lz
yuzu-b70751ccb9b6251b8342ec3edad193168084e5bc.tar.xz
yuzu-b70751ccb9b6251b8342ec3edad193168084e5bc.tar.zst
yuzu-b70751ccb9b6251b8342ec3edad193168084e5bc.zip
-rw-r--r--src/input_common/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt
index 1d1b2e08a..5682e5ca5 100644
--- a/src/input_common/CMakeLists.txt
+++ b/src/input_common/CMakeLists.txt
@@ -56,8 +56,8 @@ else()
-Werror=reorder
-Werror=shadow
-Werror=sign-compare
- -Werror=unused-but-set-parameter
- -Werror=unused-but-set-variable
+ $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
+ $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
-Werror=unused-variable
)
endif()