3
0
mirror of https://github.com/triqs/dft_tools synced 2024-08-07 04:50:00 +02:00

[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

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>