diff options
| author | ruki <[email protected]> | 2022-03-10 00:25:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-03-10 00:25:53 +0800 |
| commit | 64db618a134e8a474f4d785ee47cf04723f782ef (patch) | |
| tree | b2ca78856005ebe9d72c2e9567469e187ac14ffc /xmake/modules/private/action/require/impl/package.lua | |
| parent | 5b342ad6dc7dc51d354bdf59e60605fb411986de (diff) | |
support template package
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 89db47e36..b0fe3399c 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -932,7 +932,7 @@ end -- this package should be install? function should_install(package) - if package:exists() then + if package:is_template() or package:exists() then return false end -- we need not install it if this package need only be fetched |
