summaryrefslogtreecommitdiff
path: root/xmake/modules/package/manager/find_package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/package/manager/find_package.lua')
-rw-r--r--xmake/modules/package/manager/find_package.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/xmake/modules/package/manager/find_package.lua b/xmake/modules/package/manager/find_package.lua
index f6209c453..b90e584f4 100644
--- a/xmake/modules/package/manager/find_package.lua
+++ b/xmake/modules/package/manager/find_package.lua
@@ -169,6 +169,18 @@ end
-- @endcode
--
+-- find package from package managers (vcpkg, conan, brew, apt, etc.)
+--
+-- @param name the package name
+-- @param opt the options, e.g. {packagedirs = {}, system = true}
+-- @return the package info table, or nil
+--
+-- find package from package managers (vcpkg, conan, brew, apt, etc.)
+--
+-- @param name the package name
+-- @param opt the options, e.g. {packagedirs = {}, system = true}
+-- @return the package info table, or nil
+--
function main(name, opt)
-- get the copied options