aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/dependencies.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/mesonbuild/dependencies.py b/mesonbuild/dependencies.py
index e2c932e..e70e1a7 100644
--- a/mesonbuild/dependencies.py
+++ b/mesonbuild/dependencies.py
@@ -256,12 +256,13 @@ class WxDependency(Dependency):
def __init__(self, environment, kwargs):
Dependency.__init__(self)
+ self.is_found = False
if WxDependency.wx_found is None:
self.check_wxconfig()
-
if not WxDependency.wx_found:
- raise DependencyException('Wx-config not found.')
- self.is_found = False
+ mlog.log("Neither wx-config-3.0 nor wx-config found; can't detect dependency")
+ return
+
p = subprocess.Popen([self.wxc, '--version'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)