summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-02 07:57:22 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-02 07:57:22 +0200
commit2007d0e4a0ad730415567df47fd700c63e2ac0ed (patch)
tree00c0b4d7b93514ce3d18b63721deb360a2e40c97 /src/CMakeLists.txt
parentMerge pull request #10084 from FernandoS27/yuzu-goes-broom-broom (diff)
downloadyuzu-2007d0e4a0ad730415567df47fd700c63e2ac0ed.tar
yuzu-2007d0e4a0ad730415567df47fd700c63e2ac0ed.tar.gz
yuzu-2007d0e4a0ad730415567df47fd700c63e2ac0ed.tar.bz2
yuzu-2007d0e4a0ad730415567df47fd700c63e2ac0ed.tar.lz
yuzu-2007d0e4a0ad730415567df47fd700c63e2ac0ed.tar.xz
yuzu-2007d0e4a0ad730415567df47fd700c63e2ac0ed.tar.zst
yuzu-2007d0e4a0ad730415567df47fd700c63e2ac0ed.zip
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 312a49f42..48ddbef9d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -113,6 +113,8 @@ else()
$<$<CXX_COMPILER_ID:Clang>:-Wno-braced-scalar-init>
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
+ $<$<CXX_COMPILER_ID:Clang>:-Werror=shadow-uncaptured-local>
+ $<$<CXX_COMPILER_ID:Clang>:-Werror=implicit-fallthrough>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-braced-scalar-init>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-unused-private-field>
)