summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkanren3 <[email protected]>2026-03-20 14:38:52 +0800
committerkanren3 <[email protected]>2026-03-20 14:41:33 +0800
commit9a6688113136d8e23c7f14f5611a06dcf885d2af (patch)
tree798701263e044a714e0afd752d0a270600317980
parentc7be1fac279fce8e0b5b02576d33f23f7cd73215 (diff)
Make _required_features function public
-rw-r--r--xmake/modules/package/manager/vcpkg/find_package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/vcpkg/find_package.lua b/xmake/modules/package/manager/vcpkg/find_package.lua
index c36ba37f9..f3dc740bd 100644
--- a/xmake/modules/package/manager/vcpkg/find_package.lua
+++ b/xmake/modules/package/manager/vcpkg/find_package.lua
@@ -30,7 +30,7 @@ import("package.manager.vcpkg.utils", {alias = "vcpkg_utils"})
import("package.manager.pkgconfig.find_package", {alias = "find_package_from_pkgconfig"})
-- extract required features from both package name and configs.features.
-local function _required_features(name, configs)
+function _required_features(name, configs)
local features = {}
local features_str = name:match("%[(.-)%]")
if features_str then