From ce47deadcac8a8fcd7456a0ecc1eca0d935a9ed9 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 20 Sep 2023 22:38:24 +0800 Subject: ensure opt for on_config --- xmake/core/sandbox/modules/import/core/project/project.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/xmake/core/sandbox/modules/import/core/project/project.lua b/xmake/core/sandbox/modules/import/core/project/project.lua index eaa363ba0..6d35abaa0 100644 --- a/xmake/core/sandbox/modules/import/core/project/project.lua +++ b/xmake/core/sandbox/modules/import/core/project/project.lua @@ -150,6 +150,7 @@ end -- end -- function sandbox_core_project._config_targets(opt) + opt = opt or {} for _, target in ipairs(table.wrap(project.ordertargets())) do if target:is_enabled() then sandbox_core_project._config_target(target, opt) -- cgit v1.3.1