diff options
| author | ruki <[email protected]> | 2021-02-24 23:50:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-24 23:50:28 +0800 |
| commit | a91d3fc4909e85fe28cc5a57623a23f8694752b5 (patch) | |
| tree | 4928d11cbdd29547743ebf1ee10640a47960f2cc /xmake/core/project/project.lua | |
| parent | 538aa613ae3414c11f0e979246ff4959f75b135b (diff) | |
export packages/options
Diffstat (limited to 'xmake/core/project/project.lua')
| -rw-r--r-- | xmake/core/project/project.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index ebdf5d2e0..ba97f973b 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -360,15 +360,6 @@ function project._load_target(t, requires) return false, errors end - -- load packages - t._PACKAGES = t._PACKAGES or {} - for _, packagename in ipairs(table.wrap(t:get("packages"))) do - local p = requires[packagename] - if p then - table.insert(t._PACKAGES, p) - end - end - -- load toolchains local toolchains = t:get("toolchains") if toolchains then |
