1
0
Fork 0

meson: add option to specify wxWidgets version

This commit is contained in:
Myaamori 2021-04-09 21:51:14 +01:00 committed by Ryan Lucia
parent 696a732840
commit b00f5dd58e
2 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,7 @@ endif
deps += dependency('zlib')
wx_minver = '>=3.0.0'
wx_minver = '>=' + get_option('wx_version')
if host_machine.system() == 'darwin'
wx_minver = '>=3.1.0'
endif

View File

@ -16,6 +16,8 @@ option('csri', type: 'feature', description: 'CSRI support')
option('system_luajit', type: 'boolean', value: false, description: 'Force using system luajit')
option('local_boost', type: 'boolean', value: false, description: 'Force using locally compiled Boost')
option('wx_version', type: 'string', value: '3.0.0', description: 'The minimum wxWidgets version to use')
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')