summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2022-10-17 22:54:12 +0800
committerruki <[email protected]>2022-10-17 22:54:12 +0800
commit3cf635758acdcdafcc7199adc6e05d8747c5910a (patch)
tree198c69aeb510278303445b791106143c2f29c5ea /tests/projects
parentfcf701fe3d96f8c24d5bf708a8b0b229c6977bd5 (diff)
add component stub
Diffstat (limited to 'tests/projects')
-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 7851638c5..1b0d39c2d 100644
--- a/tests/projects/package/components/xmake.lua
+++ b/tests/projects/package/components/xmake.lua
@@ -56,7 +56,7 @@ package("sfml")
add_configs("main", {description = "Link to the sfml-main library", default = true, type = "boolean"})
end
- on_components("graphics", function (package, component)
+ on_component("graphics", function (package, component)
local e = package:config("shared") and "" or "-s"
component:add("links", "sfml-graphics" .. e)
if package:is_plat("windows", "mingw") and not package:config("shared") then
@@ -65,7 +65,7 @@ package("sfml")
end
end)
- on_components("window", function (package, component)
+ on_component("window", function (package, component)
local e = package:config("shared") and "" or "-s"
component:add("links", "sfml-window" .. e)
if package:is_plat("windows", "mingw") and not package:config("shared") then