diff options
| author | Arjan Molenaar <gaphor@gmail.com> | 2025-05-05 12:02:25 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-05-23 04:03:26 -0400 |
| commit | bc18b160f52e365b3600292482be29e0be778ee8 (patch) | |
| tree | 8bb9a3cfebafef612272a247c26cc689e8bb4895 | |
| parent | 2e3845ba4bc3ef33db04e5bcbc3e4a208641f92b (diff) | |
| download | meson-bc18b160f52e365b3600292482be29e0be778ee8.tar.gz | |
vulkan: Extract Vulkan version in SDK path
This change ensures that Vulkan will be found in the path defined by the
VULKAN_SDK env var. This is the case when the Vulkan SDK is not
installed in a well-known location (/usr, /usr/local), but in a user's
home folder.
| -rw-r--r-- | mesonbuild/dependencies/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py index a310362fa..1e80a77a3 100644 --- a/mesonbuild/dependencies/ui.py +++ b/mesonbuild/dependencies/ui.py @@ -239,7 +239,7 @@ class VulkanDependencySystem(SystemDependency): low=0, high=None, guess=e, prefix='#include <vulkan/vulkan.h>', env=environment, - extra_args=None, + extra_args=self.compile_args, dependencies=None)) # list containing vulkan version components and their expected value for c, e in [('MAJOR', 1), ('MINOR', 3), ('PATCH', None)]] |
