mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-21 22:25:58 +01:00
build: disable some annoying warnings
This commit is contained in:
parent
7999b7443e
commit
d7babf8641
1 changed files with 7 additions and 1 deletions
|
@ -11,7 +11,13 @@ project(
|
|||
],
|
||||
)
|
||||
|
||||
add_project_arguments('-Wno-unused-parameter', language: 'c')
|
||||
cc = meson.get_compiler('c')
|
||||
|
||||
add_project_arguments(cc.get_supported_arguments([
|
||||
'-Wno-missing-braces',
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-unused-parameter',
|
||||
]), language: 'c')
|
||||
|
||||
xdpw_inc = include_directories('include')
|
||||
|
||||
|
|
Loading…
Reference in a new issue