Explorar el Código

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
Makiev Anton hace 11 meses
padre
commit
c3f50af354
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      packages/v/vulkan-validationlayers/xmake.lua

+ 3 - 0
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)