Skip to content

Commit

Permalink
Add extsources to vulkan-validation-layers
Browse files Browse the repository at this point in the history
  • Loading branch information
ImperatorS79 authored Jan 22, 2024
1 parent ca551c2 commit 13e1450
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/v/vulkan-validationlayers/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,19 @@ package("vulkan-validationlayers")

add_deps("cmake")
add_deps("glslang", "spirv-headers", "spirv-tools")

if is_plat("windows") then
add_syslinks("Advapi32")
end

if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::vulkan-validation-layers")
elseif is_plat("linux") then
add_extsources("apt::vulkan-validationlayers-dev", "pacman::vulkan-extra-layers")
add_extsources("apt::vulkan-validationlayers-dev", "pacman::vulkan-validation-layers")
add_deps("ninja")
add_deps("wayland", "libxrandr", "libxcb", "libxkbcommon")
elseif is_plat("macosx") then
add_extsourves("brew::vulkan-validationlayers")
end
end

Expand Down

0 comments on commit 13e1450

Please sign in to comment.