summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-12-02 09:10:02 +0800
committerGitHub <[email protected]>2021-12-02 09:10:02 +0800
commita4b6edd7ec3c8115caf883c6ea23e7d0c9f649eb (patch)
tree7678e418697e288702f5acf71022717738863818
parent72c455d2a6cf1b13241d0e00be41cca0497802ce (diff)
Update xmake.lua
-rw-r--r--tests/projects/other/glsl2spv/xmake.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/projects/other/glsl2spv/xmake.lua b/tests/projects/other/glsl2spv/xmake.lua
index 3dfce3ed4..111927e56 100644
--- a/tests/projects/other/glsl2spv/xmake.lua
+++ b/tests/projects/other/glsl2spv/xmake.lua
@@ -1,9 +1,11 @@
add_rules("mode.debug", "mode.release")
+add_requires("glslang", {configs = {binaryonly = true}})
+
target("test")
set_kind("binary")
add_rules("utils.glsl2spv", {bin2c = true})
add_files("src/*.c")
add_files("src/*.vert", "src/*.frag")
-
+ add_packages("glslang")