summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-08-07 11:06:58 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-08-07 11:06:58 +0100
commit24880717cf9dab2b7d0a43e13552a156e727537d (patch)
treeceaba4d89c857e2a2cdbcd99e2467cb4c6de04d6 /meson.build
parent33019ba580cea41999ad3e4a059f12e9dae81738 (diff)
meson: fix a few warnings
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
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