2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

CMakeLists: Disable -Wbraced-scalar-init on Clang

Clang erroneously emits this warning when using designated initializers.
This commit is contained in:
Morph 2022-10-21 02:34:08 -04:00
parent f51c71e956
commit 120cd450e5

View file

@ -110,6 +110,7 @@ else()
-Wno-invalid-offsetof -Wno-invalid-offsetof
-Wno-unused-parameter -Wno-unused-parameter
$<$<CXX_COMPILER_ID:Clang>:-Wno-braced-scalar-init>
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field> $<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
) )