meson: remove 'build_' prefix from option

This commit is contained in:
Ryan Lucia 2019-07-21 15:08:41 -04:00 committed by odrling
parent 70b729b9e4
commit 2644f0cf54
2 changed files with 3 additions and 3 deletions

View File

@ -23,8 +23,8 @@ endif
conf = configuration_data()
conf.set_quoted('P_DATA', dataroot)
if get_option('build_credit') != ''
conf.set_quoted('BUILD_CREDIT', get_option('build_credit'))
if get_option('credit') != ''
conf.set_quoted('BUILD_CREDIT', get_option('credit'))
endif
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('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('update_server', type: 'string', value: 'updates.aegisub.org', description: 'Server to use for the update checker')