From 593de3747456b1c77d5227b463b0c45e964f222c Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 10 Sep 2018 12:10:15 +0100 Subject: [PATCH] Fix duplicate PKGCONFIG case in VulkanDependency A mistake in 82bdf07a --- mesonbuild/dependencies/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py index b740bc621..ae470fbcf 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