Fix noisy warnings with clang
This commit is contained in:
parent
2c86aa9a3d
commit
0ff8f97600
1 changed files with 4 additions and 0 deletions
|
|
@ -9,6 +9,10 @@ INTERFACE
|
||||||
-fPIC
|
-fPIC
|
||||||
$<$<NOT:$<CONFIG:Debug>>:-fno-strict-aliasing>
|
$<$<NOT:$<CONFIG:Debug>>:-fno-strict-aliasing>
|
||||||
-pipe
|
-pipe
|
||||||
|
)
|
||||||
|
|
||||||
|
target_compile_options_if_exists(common_options
|
||||||
|
INTERFACE
|
||||||
-Wall
|
-Wall
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wno-unused-parameter
|
-Wno-unused-parameter
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue