diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-08-07 11:06:58 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-08-07 11:06:58 +0100 |
commit | 24880717cf9dab2b7d0a43e13552a156e727537d (patch) | |
tree | ceaba4d89c857e2a2cdbcd99e2467cb4c6de04d6 /meson.build | |
parent | 33019ba580cea41999ad3e4a059f12e9dae81738 (diff) |
meson: fix a few warnings
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 5941d7a85..4f728f027 100644 --- a/meson.build +++ b/meson.build @@ -320,8 +320,7 @@ if cc.has_header('execinfo.h') endif disable_gst_debug = get_option('disable_gst_debug') -if get_option('disable_gst_debug') - cdata.set('GST_DISABLE_GST_DEBUG_DEFINE', '#define GST_DISABLE_GST_DEBUG 1') +if disable_gst_debug add_project_arguments(['-Wno-unused'], language: 'c') endif |