aboutsummaryrefslogtreecommitdiff
path: root/tools/cmake2meson.py
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-12-31 12:38:59 -0500
committerXavier Claessens <xclaesse@gmail.com>2019-01-16 11:16:46 -0500
commit66ac6f6b3d24e1b38b2417964f4e127d1d37888e (patch)
treee2670fda7b6f7aace0d98ae875bc85e34867a2de /tools/cmake2meson.py
parent339ee5137b57ef21a0d59b660ea08e33724082a7 (diff)
downloadmeson-66ac6f6b3d24e1b38b2417964f4e127d1d37888e.zip
meson-66ac6f6b3d24e1b38b2417964f4e127d1d37888e.tar.gz
meson-66ac6f6b3d24e1b38b2417964f4e127d1d37888e.tar.bz2
find_external_dependency: Return NotFoundDependency()
The returned not-found object can be from any type because we were returning the first of the failed attempts. It also can happen that we don't have any dependency object in which case we should just return NotFoundDependency() object as well instead of raising an exception. That exception was happening before, but dependency_impl() was calling find_external_dependency() in a try block so it was hidden.
Diffstat (limited to 'tools/cmake2meson.py')
0 files changed, 0 insertions, 0 deletions