3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-18 12:03:50 +01:00

[cmake] Do not warn about unkown warning options

This commit is contained in:
Nils Wentzell 2020-09-09 12:03:55 -04:00
parent caf5da4a3a
commit 14d30a1a14

View File

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