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)