diff options
author | lat9nq <[email protected]> | 2023-05-02 02:07:36 -0400 |
---|---|---|
committer | lat9nq <[email protected]> | 2023-05-02 02:07:36 -0400 |
commit | f7292c776bb851b5d85e83c057890ad5186e3cff (patch) | |
tree | cab64d7c4c58d5acbf8df32f35282ce62fdfc46d /src/CMakeLists.txt | |
parent | 2007d0e4a0ad730415567df47fd700c63e2ac0ed (diff) | |
download | yuzu-mainline-f7292c776bb851b5d85e83c057890ad5186e3cff.tar.gz yuzu-mainline-f7292c776bb851b5d85e83c057890ad5186e3cff.zip |
CMake: Enable type limits on Clang
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 48ddbef9d..5e3a74c0f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -115,6 +115,7 @@ else() $<$<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:Clang>:-Werror=type-limits> $<$<CXX_COMPILER_ID:AppleClang>:-Wno-braced-scalar-init> $<$<CXX_COMPILER_ID:AppleClang>:-Wno-unused-private-field> ) |