summaryrefslogtreecommitdiff
path: root/tests/projects/package/components/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-17 23:12:17 +0800
committerruki <[email protected]>2022-10-17 23:12:17 +0800
commit88f80d548d179e020a70f462f0aeba5111714937 (patch)
tree5ebbb56b6b83a94709a09283096c48488ff26c41 /tests/projects/package/components/xmake.lua
parent2e160359e659e9760f9c2c2c9a5ea8537dcd56c8 (diff)
improve tests
Diffstat (limited to 'tests/projects/package/components/xmake.lua')
-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 1b0d39c2d..6fbb68630 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", {public = true})
+ add_packages("sfml", {components = "graphics", public = true})
target("network")
set_kind("static")
add_files("src/network.cpp")
- add_packages("sfml", {public = true})
+ add_packages("sfml", {components = "network", public = true})
target("test")
set_kind("binary")