diff options
| author | ruki <[email protected]> | 2024-07-04 00:51:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-07-04 00:51:40 +0800 |
| commit | 07f422a285bbd5e7b6959ddf8b1b6a55339f0426 (patch) | |
| tree | 8714ebea73043db663d82f7b801041b691207936 | |
| parent | c1802f741f225ef32109fa0f8adc396528a18951 (diff) | |
fix #5304
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/project/project.lua | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/core/sandbox/modules/import/core/project/project.lua b/xmake/core/sandbox/modules/import/core/project/project.lua index 401fc9d61..c5f54dc05 100644 --- a/xmake/core/sandbox/modules/import/core/project/project.lua +++ b/xmake/core/sandbox/modules/import/core/project/project.lua @@ -200,12 +200,8 @@ end -- load project targets function sandbox_core_project.load_targets(opt) - local loaded = sandbox_core_project._LOADED - if not loaded then - sandbox_core_project._LOADED = true - sandbox_core_project._load_package_rules_for_targets() - sandbox_core_project._config_targets(opt) - end + sandbox_core_project._load_package_rules_for_targets() + sandbox_core_project._config_targets(opt) end -- get the filelock of the whole project directory |
