Parcourir la source

Add linux pacman add_extsources for vulkan-hpp (#857)

Arthapz il y a 3 ans
Parent
commit
bb8ebe29a9
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      packages/v/vulkan-hpp/xmake.lua

+ 4 - 0
packages/v/vulkan-hpp/xmake.lua

@@ -11,6 +11,10 @@ package("vulkan-hpp")
 
     add_deps("cmake")
 
+    if is_plat("linux") then
+      add_extsources("pacman::vulkan-headers")
+    end
+
     on_install("windows", "linux", "macosx", "mingw", function (package)
         local arch_prev
         if package:is_plat("mingw") and package.plat_set then