mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
quote string entries with configuration_data.set_quoted() instead of by ourself with configureation_data.set()
This commit is contained in:
parent
93c0ec8811
commit
e6bc698250
1 changed files with 4 additions and 4 deletions
|
@ -11,11 +11,11 @@ project('Miraclecast',
|
||||||
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
||||||
|
|
||||||
conf_data = configuration_data()
|
conf_data = configuration_data()
|
||||||
conf_data.set('BUILD_BINDIR',
|
conf_data.set_quoted('BUILD_BINDIR',
|
||||||
'"' + join_paths(get_option('prefix'), get_option('bindir')) + '"'
|
join_paths(get_option('prefix'), get_option('bindir'))
|
||||||
)
|
)
|
||||||
conf_data.set('PACKAGE_STRING',
|
conf_data.set_quoted('PACKAGE_STRING',
|
||||||
'"@0@ @1@"'.format(meson.project_name(), meson.project_version())
|
'@0@ @1@'.format(meson.project_name(), meson.project_version())
|
||||||
)
|
)
|
||||||
configure_file(output: 'config.h',
|
configure_file(output: 'config.h',
|
||||||
configuration: conf_data
|
configuration: conf_data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue