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
pull/5109/head
Makiev Anton 3 months ago committed by GitHub
parent 6f74ad8242
commit c3f50af354
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      packages/v/vulkan-validationlayers/xmake.lua

@ -69,6 +69,9 @@ package("vulkan-validationlayers")
if package:version():ge("1.3.275") then if package:version():ge("1.3.275") then
package:add("deps", "vulkan-utility-libraries " .. sdkver) package:add("deps", "vulkan-utility-libraries " .. sdkver)
end end
package:addenv("VK_ADD_LAYER_PATH", "lib")
package:mark_as_pathenv("VK_ADD_LAYER_PATH")
end) end)
on_install("windows", "linux", function (package) on_install("windows", "linux", function (package)

Loading…
Cancel
Save