summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/package/manager/xmake/find_package.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/manager/xmake/find_package.lua b/xmake/modules/package/manager/xmake/find_package.lua
index cb00d5756..a3e907539 100644
--- a/xmake/modules/package/manager/xmake/find_package.lua
+++ b/xmake/modules/package/manager/xmake/find_package.lua
@@ -35,7 +35,7 @@ import("lib.detect.find_library")
function _find_package_from_repo(name, opt)
-- get build mode, e.g. debug_f7821231
- local mode = table.concat({opt.mode or "release", opt.configs_hash}, '_')
+ local mode = table.concat({opt.mode or "release", opt.buildhash}, '_')
-- get the prefix directories
local prefixdirs = table.wrap(opt.prefixdirs)
@@ -247,7 +247,7 @@ end
-- find package using the xmake package manager
--
-- @param name the package name
--- @param opt the options, .e.g {verbose = true, version = "1.12.x", configs_hash = "xxxxxx")
+-- @param opt the options, .e.g {verbose = true, version = "1.12.x", buildhash = "xxxxxx")
--
function main(name, opt)