meson: use cdata.set_quoted() in more places

This commit is contained in:
Tim-Philipp Müller 2018-05-21 11:49:08 +01:00
parent ddee82c89f
commit b04583d9ed

View file

@ -143,11 +143,11 @@ cdata.set('SIZEOF_OFF_T', cc.sizeof('off_t'))
# FIXME: check if this is correct # FIXME: check if this is correct
cdata.set('HAVE_CPU_X86_64', host_machine.cpu() == 'amd64') cdata.set('HAVE_CPU_X86_64', host_machine.cpu() == 'amd64')
cdata.set('HAVE_GCC_ASM', cc.get_id() != 'msvc') cdata.set('HAVE_GCC_ASM', cc.get_id() != 'msvc')
cdata.set('VERSION', '"@0@"'.format(gst_version)) cdata.set_quoted('VERSION', gst_version)
cdata.set('PACKAGE_VERSION', '"@0@"'.format(gst_version)) cdata.set_quoted('PACKAGE_VERSION', gst_version)
cdata.set('GST_LICENSE', '"LGPL"') cdata.set_quoted('GST_LICENSE', 'LGPL')
cdata.set('PACKAGE', '"gst-plugins-good"') cdata.set_quoted('PACKAGE', 'gst-plugins-good')
cdata.set('GETTEXT_PACKAGE', '"gst-plugins-good-1.0"') cdata.set_quoted('GETTEXT_PACKAGE', 'gst-plugins-good-1.0')
cdata.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir'))) cdata.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
if get_option('nls') if get_option('nls')
cdata.set('ENABLE_NLS', 1) cdata.set('ENABLE_NLS', 1)