meson: remove 'build_' prefix from option

This commit is contained in:
Ryan Lucia 2019-07-21 15:08:41 -04:00
parent 1599858c92
commit 13711128fa
2 changed files with 3 additions and 3 deletions

View file

@ -23,8 +23,8 @@ endif
conf = configuration_data() conf = configuration_data()
conf.set_quoted('P_DATA', dataroot) conf.set_quoted('P_DATA', dataroot)
if get_option('build_credit') != '' if get_option('credit') != ''
conf.set_quoted('BUILD_CREDIT', get_option('build_credit')) conf.set_quoted('BUILD_CREDIT', get_option('credit'))
endif endif
conf.set('WITH_UPDATE_CHECKER', get_option('enable_update_checker')) conf.set('WITH_UPDATE_CHECKER', get_option('enable_update_checker'))

View file

@ -13,7 +13,7 @@ option('uchardet', type: 'feature', description: 'uchardet character encoding de
option('system_luajit', type: 'boolean', value: false, description: 'Force using system luajit') option('system_luajit', type: 'boolean', value: false, description: 'Force using system luajit')
option('build_credit', type: 'string', value: '', description: 'Build credit shown in program title') option('credit', type: 'string', value: '', description: 'Build credit shown in program title')
option('enable_update_checker', type: 'boolean', value: false, description: 'Enable the update checker') option('enable_update_checker', type: 'boolean', value: false, description: 'Enable the update checker')
option('update_server', type: 'string', value: 'updates.aegisub.org', description: 'Server to use for the update checker') option('update_server', type: 'string', value: 'updates.aegisub.org', description: 'Server to use for the update checker')