diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-12-23 15:00:29 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-12-28 19:46:30 +0200 |
commit | d67423ab11bbcd0e81d81005608a97363804f6a2 (patch) | |
tree | a839dbff8a5f5a7b7d131fd37239e1242cf73a6b /mesonbuild | |
parent | 8dd4e63eb377a51bfca9d0f16dc793a6ae76f9dd (diff) | |
download | meson-d67423ab11bbcd0e81d81005608a97363804f6a2.zip meson-d67423ab11bbcd0e81d81005608a97363804f6a2.tar.gz meson-d67423ab11bbcd0e81d81005608a97363804f6a2.tar.bz2 |
bugfix: netcdf pkgconfig stop if found
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/dependencies/misc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index 7088697..88f64e0 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -61,6 +61,8 @@ class NetCDFDependency(ExternalDependency): self.version = pkgdep.get_version() self.is_found = True self.pcdep.append(pkgdep) + if self.is_found: + return if set([DependencyMethods.AUTO, DependencyMethods.CMAKE]).intersection(methods): cmakedep = CMakeDependency('NetCDF', environment, kwargs, language=self.language) |