Browse Source

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

Arthapz 3 years ago
parent
commit
bb8ebe29a9
1 changed files with 4 additions and 0 deletions
  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")
     add_deps("cmake")
 
 
+    if is_plat("linux") then
+      add_extsources("pacman::vulkan-headers")
+    end
+
     on_install("windows", "linux", "macosx", "mingw", function (package)
     on_install("windows", "linux", "macosx", "mingw", function (package)
         local arch_prev
         local arch_prev
         if package:is_plat("mingw") and package.plat_set then
         if package:is_plat("mingw") and package.plat_set then