aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-09-10 12:10:15 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2018-09-10 21:02:18 +0300
commit593de3747456b1c77d5227b463b0c45e964f222c (patch)
treed3b6a0c9de5ab9e574d079f8e97c32d013db41f9 /mesonbuild/dependencies
parent1768b09a12664b8a03ce7c46002b6d0910d48271 (diff)
downloadmeson-593de3747456b1c77d5227b463b0c45e964f222c.zip
meson-593de3747456b1c77d5227b463b0c45e964f222c.tar.gz
meson-593de3747456b1c77d5227b463b0c45e964f222c.tar.bz2
Fix duplicate PKGCONFIG case in VulkanDependency
A mistake in 82bdf07a
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r--mesonbuild/dependencies/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py
index b740bc6..ae470fb 100644
--- a/mesonbuild/dependencies/ui.py
+++ b/mesonbuild/dependencies/ui.py
@@ -604,7 +604,7 @@ class VulkanDependency(ExternalDependency):
if DependencyMethods.PKGCONFIG in methods:
candidates.append(functools.partial(PkgConfigDependency, 'vulkan', environment, kwargs))
- if DependencyMethods.PKGCONFIG in methods:
+ if DependencyMethods.SYSTEM in methods:
candidates.append(functools.partial(VulkanDependency, environment, kwargs))
return candidates