summaryrefslogtreecommitdiff
path: root/tests/projects/package/components
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-18 00:58:31 +0800
committerruki <[email protected]>2022-10-18 00:58:31 +0800
commit3ea5c8babb63ad6cd3442c31762a7815df2e1a1b (patch)
tree942fd36e3063cd6ca4a49cb618379e0393736a7e /tests/projects/package/components
parente732b8f24940f524f4d7a48ea92cdc91520d8622 (diff)
improve tests
Diffstat (limited to 'tests/projects/package/components')
-rw-r--r--tests/projects/package/components/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/package/components/xmake.lua b/tests/projects/package/components/xmake.lua
index fc6ef7827..888ee11c8 100644
--- a/tests/projects/package/components/xmake.lua
+++ b/tests/projects/package/components/xmake.lua
@@ -5,12 +5,12 @@ add_requires("sfml")
target("graphics")
set_kind("static")
add_files("src/graphics.cpp")
- add_packages("sfml", {components = "graphics", public = true})
+ add_packages("sfml", {components = {"graphics", "system"}, public = true})
target("network")
set_kind("static")
add_files("src/network.cpp")
- add_packages("sfml", {components = "network", public = true})
+ add_packages("sfml", {components = {"network", "system"}, public = true})
target("test")
set_kind("binary")