summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-13 13:03:38 +0800
committerruki <[email protected]>2021-11-13 13:03:38 +0800
commitdaef54e8a91ae742e18057756fcaa7548bc83930 (patch)
treee2d2739ce79c59c895aeaca050409392d6cd3008 /xmake/core/package/package.lua
parent7625d0368ebf5dd461566b802ebb464cda2b1c9d (diff)
install cargo deps
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 6b7f22a4e..d5d683741 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1867,6 +1867,8 @@ function package.load_from_system(packagename)
opt.arch = pkg:arch()
opt.require_version = pkg:version_str()
opt.buildhash = pkg:buildhash()
+ opt.cachedir = pkg:cachedir()
+ opt.installdir = pkg:installdir()
import("package.manager.install_package")(pkg:name(), opt)
end