mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-03 17:20:11 +01:00
meson.build: disable -Wunused when building the litest selftest
We use check directly to test the various litest bits, so if ifdef out the litest main() and a few other bits. This results in compiler warnings that aren't worth fixing - a lot of moving code around for no real benefit. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
5a568cfaf0
commit
e4548f5805
1 changed files with 2 additions and 1 deletions
|
|
@ -835,7 +835,8 @@ if get_option('tests')
|
|||
def_disable_backtrace = '-DLITEST_DISABLE_BACKTRACE_LOGGING'
|
||||
defs_litest_selftest = [
|
||||
def_no_main,
|
||||
def_disable_backtrace
|
||||
def_disable_backtrace,
|
||||
'-Wno-unused',
|
||||
]
|
||||
test_litest_selftest_sources = [
|
||||
'test/litest-selftest.c',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue