Support building with wxWidgets 3.0.x.
authorCarl Hetherington <cth@carlh.net>
Fri, 27 Jun 2014 14:37:44 +0000 (15:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 27 Jun 2014 14:37:44 +0000 (15:37 +0100)
src/wx/wscript

index de256bf60a90609c5be2b55219fdc1fafd8ff398..f26a91cbc5d30dfb16636417841157043f6b8f61 100644 (file)
@@ -71,8 +71,8 @@ def configure(conf):
     conf.in_msg = 1
     wx_version = conf.check_cfg(package='', path=conf.options.wx_config, args='--version').strip()
     conf.im_msg = 0
-    if wx_version != '3.0.0':
-        conf.fatal('wxwidgets version 3.0.0 is required; %s found' % wx_version)
+    if not wx_version.startswith('3.0.'):
+        conf.fatal('wxwidgets version 3.0.x is required; %s found' % wx_version)
 
 def build(bld):
     if bld.env.BUILD_STATIC: