mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-13 02:31:54 +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')
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue