summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-24 22:31:04 +0800
committerruki <[email protected]>2019-01-24 09:06:27 +0800
commit3f95d81c9d8ae9294f8fa4b94411c08ec881a01c (patch)
tree866dd5d1db285d6a025ac47fd5e5d1fe438c9f77
parent330b83f72c49ee3fb6d94b6550f10844532cfb73 (diff)
fix find_packages
-rw-r--r--xmake/core/sandbox/modules/find_packages.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/find_packages.lua b/xmake/core/sandbox/modules/find_packages.lua
index d3116330b..1d218a11c 100644
--- a/xmake/core/sandbox/modules/find_packages.lua
+++ b/xmake/core/sandbox/modules/find_packages.lua
@@ -26,7 +26,7 @@
return function (...)
-- get find_package
- local find_package = require("sandbox/modules/import/lib/detect/find_package").main
+ local find_package = require("sandbox/modules/import/core/sandbox/module").import("lib.detect.find_package", {anonymous = true})
-- get packages and options
local pkgs = {...}