diff options
| author | ruki <[email protected]> | 2023-09-20 22:38:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-20 22:38:24 +0800 |
| commit | ce47deadcac8a8fcd7456a0ecc1eca0d935a9ed9 (patch) | |
| tree | 3e776d2e626aa019544fd425db26c24f70191f3c | |
| parent | 6b774d2e1bbbd830737f33b2a07ee18707be0d85 (diff) | |
ensure opt for on_config
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/project/project.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
