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
1 changed files with 1 additions and 0 deletions

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>
) )