Commit e839f312 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

meson: define G_DISABLE_DEPRECATED for development versions

Like in autotools.
parent 6d34f57c
......@@ -57,6 +57,11 @@ if cc.has_argument('-fno-strict-aliasing')
add_project_arguments('-fno-strict-aliasing', language: 'c')
# Define G_DISABLE_DEPRECATED for development versions
if gst_version_minor % 2 == 1 and gst_version_micro < 90
add_project_arguments('-DG_DISABLE_DEPRECATED', language: 'c')
cdata = configuration_data()
cdata.set_quoted('GST_API_VERSION', apiversion)
cdata.set_quoted('GST_DATADIR', join_paths(prefix, get_option('datadir')))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment