Skip to content

Commit

Permalink
Add extsources for vulkan-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ImperatorS79 authored Jan 22, 2024
1 parent ca551c2 commit 200401c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/v/vulkan-headers/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 200401c

Please sign in to comment.