Add extsources for vulkan-headers (#3149)

pull/3154/head
ImperatorS79 10 months ago committed by GitHub
parent 3f37633d15
commit 783082ec83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      packages/v/vulkan-headers/xmake.lua

@ -30,8 +30,12 @@ package("vulkan-headers")
add_deps("cmake")
if is_plat("linux") then
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::vulkan-headers")
elseif is_plat("linux") then
add_extsources("apt::libvulkan-dev", "pacman::vulkan-headers")
elseif is_plat("macosx") then
add_extsources("brew::vulkan-headers")
end
on_install(function (package)

Loading…
Cancel
Save