mirror of
https://github.com/triqs/dft_tools
synced 2025-04-29 11:44:57 +02:00
[cmake] Only use Wshadow=local for gcc
This commit is contained in:
parent
09c40e741a
commit
5768a7f748
@ -78,9 +78,10 @@ target_compile_options(project_warnings
|
|||||||
INTERFACE
|
INTERFACE
|
||||||
-Wall
|
-Wall
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wshadow
|
|
||||||
-Wpedantic
|
-Wpedantic
|
||||||
-Wno-sign-compare
|
-Wno-sign-compare
|
||||||
|
$<$<CXX_COMPILER_ID:GNU>:-Wshadow=local>
|
||||||
|
$<$<CXX_COMPILER_ID:Clang>:-Wshadow>
|
||||||
$<$<CXX_COMPILER_ID:Clang>:-Wno-gcc-compat>
|
$<$<CXX_COMPILER_ID:Clang>:-Wno-gcc-compat>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user