Fix duplicate PKGCONFIG case in VulkanDependency

A mistake in 82bdf07a
pull/4152/head
Jon Turney 6 years ago committed by Jussi Pakkanen
parent 1768b09a12
commit 593de37474
  1. 2
      mesonbuild/dependencies/ui.py

@ -604,7 +604,7 @@ class VulkanDependency(ExternalDependency):
if DependencyMethods.PKGCONFIG in methods: if DependencyMethods.PKGCONFIG in methods:
candidates.append(functools.partial(PkgConfigDependency, 'vulkan', environment, kwargs)) 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)) candidates.append(functools.partial(VulkanDependency, environment, kwargs))
return candidates return candidates

Loading…
Cancel
Save