From bb7de63bdc4aea9c607398495083e4aef3ab830e Mon Sep 17 00:00:00 2001 From: Derek Dai Date: Mon, 3 Apr 2017 23:12:53 +0800 Subject: [PATCH] quote string entries with configuration_data.set_quoted() instead of by ourself with configureation_data.set() --- meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 74adfaa..1e88906 100644 --- a/meson.build +++ b/meson.build @@ -8,11 +8,11 @@ project('Miraclecast', add_project_arguments('-D_GNU_SOURCE', language: 'c') conf_data = configuration_data() -conf_data.set('BUILD_BINDIR', - '"' + join_paths(get_option('prefix'), get_option('bindir')) + '"' +conf_data.set_quoted('BUILD_BINDIR', + join_paths(get_option('prefix'), get_option('bindir')) ) -conf_data.set('PACKAGE_STRING', - '"@0@ @1@"'.format(meson.project_name(), meson.project_version()) +conf_data.set_quoted('PACKAGE_STRING', + '@0@ @1@'.format(meson.project_name(), meson.project_version()) ) configure_file(output: 'config.h', configuration: conf_data