diff options
Diffstat (limited to 'xmake/core/project/requireinfo.lua')
| -rw-r--r-- | xmake/core/project/requireinfo.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/project/requireinfo.lua b/xmake/core/project/requireinfo.lua index 0c90e6fb5..218f346ff 100644 --- a/xmake/core/project/requireinfo.lua +++ b/xmake/core/project/requireinfo.lua @@ -108,6 +108,11 @@ function requireinfo:requirestr() return self:get("__requirestr") end +-- get the install directory +function requireinfo:installdir() + return self:get("__installdir") +end + -- get the extra info from the given name function requireinfo:extra(name) local extrainfo = self:extrainfo() |
