[cmake] Disable warnings about use of comma operator in subscript operator

This commit is contained in:
Nils Wentzell 2020-08-08 20:53:25 -04:00
parent bcaf78501b
commit d72b245d56
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ target_compile_options(${PROJECT_NAME}_warnings
-Wextra
-Wpedantic
-Wno-sign-compare
-Wno-deprecated-comma-subscript
$<$<CXX_COMPILER_ID:GNU>:-Wshadow=local>
$<$<CXX_COMPILER_ID:GNU>:-Wno-attributes>
$<$<CXX_COMPILER_ID:Clang>:-Wshadow>