summaryrefslogtreecommitdiff
path: root/xmake/modules/private
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-16 00:45:17 +0800
committerruki <[email protected]>2021-02-16 00:45:17 +0800
commit67e4fc13ac7f28a9f73799f9d8f5652867f01c23 (patch)
tree4ed620984ed9e47a33dc755dd240d6e5f3628cd7 /xmake/modules/private
parent1ea0bc0d59e6b9123411d51bf37db903e0b4cfab (diff)
improve toplevel
Diffstat (limited to 'xmake/modules/private')
-rw-r--r--xmake/modules/private/action/require/impl/package.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua
index 45b92a612..2759b0fd0 100644
--- a/xmake/modules/private/action/require/impl/package.lua
+++ b/xmake/modules/private/action/require/impl/package.lua
@@ -589,12 +589,6 @@ function _load_packages(requires, opt)
-- maybe package not found and optional
if package then
- -- mark as top level
- -- @note we cannot use `not package:parents()`, because we may patch deps for toolchain/packages
- if not opt.parentinfo then
- package:mark_toplevel()
- end
-
-- load dependent packages and save them first of this package
if not package._DEPS then
local deps = package:get("deps")