From 3ea5c8babb63ad6cd3442c31762a7815df2e1a1b Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 18 Oct 2022 00:58:31 +0800 Subject: improve tests --- tests/projects/package/components/xmake.lua | 4 ++-- 1 file 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") -- cgit v1.3.1