summaryrefslogtreecommitdiff
path: root/src/audio_core
diff options
context:
space:
mode:
authorGravatar Lioncash2020-10-20 22:15:59 -0400
committerGravatar Lioncash2020-10-20 22:16:03 -0400
commite408bd3b7ce0f584475da88a770319bccca780b4 (patch)
tree2d74f06d232f51c0255d3a440b4b12ff3e0a71db /src/audio_core
parentMerge pull request #4814 from yuzu-emu/revert-4796-clang (diff)
downloadyuzu-e408bd3b7ce0f584475da88a770319bccca780b4.tar.gz
yuzu-e408bd3b7ce0f584475da88a770319bccca780b4.tar.xz
yuzu-e408bd3b7ce0f584475da88a770319bccca780b4.zip
core: Fix clang build pt.2
Resolves the clang build issue in a more unintrusive way.
Diffstat (limited to 'src/audio_core')
-rw-r--r--src/audio_core/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/audio_core/CMakeLists.txt b/src/audio_core/CMakeLists.txt
index 54940a034..68c67507b 100644
--- a/src/audio_core/CMakeLists.txt
+++ b/src/audio_core/CMakeLists.txt
@@ -51,9 +51,12 @@ if (NOT MSVC)
51 -Werror=implicit-fallthrough 51 -Werror=implicit-fallthrough
52 -Werror=reorder 52 -Werror=reorder
53 -Werror=sign-compare 53 -Werror=sign-compare
54 -Werror=unused-but-set-parameter
55 -Werror=unused-but-set-variable
56 -Werror=unused-variable 54 -Werror=unused-variable
55
56 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
57 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
58
59 -Wno-sign-conversion
57 ) 60 )
58endif() 61endif()
59 62