From c3f50af3546a315b30edc943153a537a441fdc47 Mon Sep 17 00:00:00 2001 From: Makiev Anton <87947444+kraydan@users.noreply.github.com> Date: Sat, 31 Aug 2024 18:13:28 +0400 Subject: [PATCH] vulkan-validationlayers: fixing the detection of layers at runtime (#5063) * vulkan-validationlayers: fixing the detection of layers at runtime * vulkan-validationlayers: fixing the detection of layers at runtime --- packages/v/vulkan-validationlayers/xmake.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/v/vulkan-validationlayers/xmake.lua b/packages/v/vulkan-validationlayers/xmake.lua index ffe5691ac..e94408b58 100644 --- a/packages/v/vulkan-validationlayers/xmake.lua +++ b/packages/v/vulkan-validationlayers/xmake.lua @@ -69,6 +69,9 @@ package("vulkan-validationlayers") if package:version():ge("1.3.275") then package:add("deps", "vulkan-utility-libraries " .. sdkver) end + + package:addenv("VK_ADD_LAYER_PATH", "lib") + package:mark_as_pathenv("VK_ADD_LAYER_PATH") end) on_install("windows", "linux", function (package)