meson: add option to specify wxWidgets version
This commit is contained in:
parent
696a732840
commit
b00f5dd58e
2 changed files with 3 additions and 1 deletions
|
@ -111,7 +111,7 @@ endif
|
||||||
|
|
||||||
deps += dependency('zlib')
|
deps += dependency('zlib')
|
||||||
|
|
||||||
wx_minver = '>=3.0.0'
|
wx_minver = '>=' + get_option('wx_version')
|
||||||
if host_machine.system() == 'darwin'
|
if host_machine.system() == 'darwin'
|
||||||
wx_minver = '>=3.1.0'
|
wx_minver = '>=3.1.0'
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -16,6 +16,8 @@ option('csri', type: 'feature', description: 'CSRI support')
|
||||||
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('local_boost', type: 'boolean', value: false, description: 'Force using locally compiled Boost')
|
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('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')
|
||||||
|
|
Loading…
Reference in a new issue