diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-02 12:23:45 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-02 15:57:28 +0100 |
commit | 78cb330e91a9cb996b7e8f61a184a433f680bc78 (patch) | |
tree | ca276bd87cc0cf2faf62958fbdd4c65a438491c2 /meson.build | |
parent | ab486f165b882aa5b02d0b48d6fa242a2d3c10da (diff) |
meson: remove pointless warnings
Meson tests sometimes warn if the required libraries and headers are present but
a test program fails to link. In the case of DirectSound and OSS, however, there
is no test program so there is no need to warn.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 0ab9c43bf2..d09e314e04 100644 --- a/meson.build +++ b/meson.build @@ -924,8 +924,6 @@ if have_system and not get_option('oss').disabled() if not oss.found() if get_option('oss').enabled() error('OSS not found') - else - warning('OSS not found, disabling') endif endif endif @@ -938,8 +936,6 @@ if not get_option('dsound').auto() or (targetos == 'windows' and have_system) if not dsound.found() if get_option('dsound').enabled() error('DirectSound not found') - else - warning('DirectSound not found, disabling') endif endif endif |