diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-08-02 12:16:58 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-08-03 00:16:47 +0300 |
commit | de7bc71ee3a6ecc19fbeafe9cfd3629814ff46d0 (patch) | |
tree | 52eb970ba600cc3146114629e1ac4678f9444cac /mesonbuild/modules/dlang.py | |
parent | a79980da6ba50ef9eaea396528c9c8a395c4997d (diff) | |
download | meson-de7bc71ee3a6ecc19fbeafe9cfd3629814ff46d0.zip meson-de7bc71ee3a6ecc19fbeafe9cfd3629814ff46d0.tar.gz meson-de7bc71ee3a6ecc19fbeafe9cfd3629814ff46d0.tar.bz2 |
Fix when gtest dep is found but does not pass version check
GTestDependencySystem (and other similar dep classes) sets
self.is_found=True, but the version check could still fail. In the case
the dependency is not required `ExternalDependency._check_version()`
won't raise an exception and thus the dependency is accepted.
_check_version() sets self.is_found() in the case self.version is not
empty, we should do it too when self.version is empty.
Fixes: #9036.
Diffstat (limited to 'mesonbuild/modules/dlang.py')
0 files changed, 0 insertions, 0 deletions