Remove config_file option
This commit is contained in:
parent
2a4fe62427
commit
c05213d576
2 changed files with 1 additions and 2 deletions
|
@ -1,3 +1,2 @@
|
|||
option('base_url', type: 'string', value: 'https://api.originsro.org')
|
||||
option('database_file', type: 'string', value: 'originsro.db3')
|
||||
option('config_file', type: 'string', value: 'orotool.conf')
|
||||
|
|
|
@ -22,7 +22,7 @@ endif
|
|||
conf = configuration_data()
|
||||
conf.set_quoted('BASE_URL', base_url)
|
||||
conf.set_quoted('DATABASE', get_option('database_file'))
|
||||
conf.set_quoted('CONFIG_FILE_PATH', get_option('prefix') / get_option('sysconfdir') / get_option('config_file'))
|
||||
conf.set_quoted('CONFIG_FILE_PATH', get_option('prefix') / get_option('sysconfdir') / meson.project_name() + '.conf')
|
||||
project_config_file = configure_file(
|
||||
input: 'config.hpp.in',
|
||||
output: meson.project_name() + '_config.hpp',
|
||||
|
|
Loading…
Add table
Reference in a new issue