瀏覽代碼

glslang: expose MachineIndependent headers (#6982)

* glslang: expose MachineIndependent headers

* Update packages/g/glslang/xmake.lua

Co-authored-by: Jérôme Leclercq <[email protected]>

* revert review

* Update xmake.lua

---------

Co-authored-by: Jérôme Leclercq <[email protected]>
Co-authored-by: ruki <[email protected]>
exdal 4 月之前
父節點
當前提交
a00e5b922e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      packages/g/glslang/xmake.lua

+ 3 - 0
packages/g/glslang/xmake.lua

@@ -91,6 +91,9 @@ package("glslang")
             package:add("links", "glslang", "glslang-default-resource-limits")
         end
 
+        os.cp("glslang/MachineIndependent/**.h", package:installdir("include", "glslang", "MachineIndependent"))
+        os.cp("glslang/Include/**.h", package:installdir("include", "glslang", "Include"))
+
         -- https://github.com/KhronosGroup/glslang/releases/tag/12.3.0
         local bindir = package:installdir("bin")
         local glslangValidator = path.join(bindir, "glslangValidator" .. (is_host("windows") and ".exe" or ""))