mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Check for wxWidgets 2.9.2 (trunk really) which the OS X build now requires.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7115 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -27,9 +27,9 @@ def SystemWXConfig(env, args):
|
||||
# Check version of wx-config
|
||||
# It succeeds with a warning if version check failed.
|
||||
def CheckWXConfigVersion(context, version):
|
||||
releaseversion = SystemWXConfig(context.env,'--release')[1]
|
||||
releaseversion = SystemWXConfig(context.env,'--version-full')[1]
|
||||
try:
|
||||
if float(version) > float(releaseversion.strip()):
|
||||
if float(version) > float(releaseversion.replace('.', '')) / 1000:
|
||||
return False
|
||||
except (ValueError, TypeError):
|
||||
context.Message('version check failed, but ok... ')
|
||||
|
Reference in New Issue
Block a user