aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-12-23 15:00:29 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-12-28 19:46:30 +0200
commitd67423ab11bbcd0e81d81005608a97363804f6a2 (patch)
treea839dbff8a5f5a7b7d131fd37239e1242cf73a6b /mesonbuild
parent8dd4e63eb377a51bfca9d0f16dc793a6ae76f9dd (diff)
downloadmeson-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.py2
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)