diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-06-01 01:27:40 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-08-01 14:26:00 +0100 |
commit | 3576623b0f46dab27fbb243f6d5595916187642f (patch) | |
tree | fe93aaa67cd881de730417a9d409e1cfb4f34a08 /mesonbuild/dependencies/ui.py | |
parent | 01118ce2a45ec3111b29f2de70bc127b3400ebb2 (diff) | |
download | meson-3576623b0f46dab27fbb243f6d5595916187642f.zip meson-3576623b0f46dab27fbb243f6d5595916187642f.tar.gz meson-3576623b0f46dab27fbb243f6d5595916187642f.tar.bz2 |
Consolidate raising a DependencyException() if required but not-found
This is now done by find_external_dependency() in all cases
I can't help but think this perhaps should be in a few more places...
Diffstat (limited to 'mesonbuild/dependencies/ui.py')
-rw-r--r-- | mesonbuild/dependencies/ui.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py index ca7db3f..904c37f 100644 --- a/mesonbuild/dependencies/ui.py +++ b/mesonbuild/dependencies/ui.py @@ -227,10 +227,6 @@ class QtBaseDependency(ExternalDependency): self.link_args = [] from_text = '(checked {})'.format(mlog.format_list(methods)) self.version = 'none' - if self.required: - err_msg = '{} {} dependency not found {}' \ - ''.format(self.qtname, type_text, from_text) - raise DependencyException(err_msg) if not self.silent: mlog.log(found_msg.format(from_text), mlog.red('NO')) return |