From 88f80d548d179e020a70f462f0aeba5111714937 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 17 Oct 2022 23:12:17 +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 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") -- cgit v1.3.1