diff options
| author | ruki <[email protected]> | 2017-06-30 16:01:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-06-30 16:01:56 +0800 |
| commit | 871af6a0239ee82fb269efa022a0ce7cda4dd866 (patch) | |
| tree | 47ba2573889b721f5fdb37aee0d76fdad193f611 /xmake/core/project/option.lua | |
| parent | 4e283aa257fec00eb9a8e994bf976cc03491fdc2 (diff) | |
disable cache for has_cxsnippets
Diffstat (limited to 'xmake/core/project/option.lua')
| -rw-r--r-- | xmake/core/project/option.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/option.lua b/xmake/core/project/option.lua index 2b0746281..93be29349 100644 --- a/xmake/core/project/option.lua +++ b/xmake/core/project/option.lua @@ -88,7 +88,7 @@ function option:_check_cx(kind) self._has_cxsnippets = self._has_cxsnippets or import("lib.detect.has_cxsnippets") -- get the tool name from the program - local ok, results_or_errors = sandbox.load(self._has_cxsnippets, snippets, {name = self:name(), target = self, sourcekind = sourcekind, types = types, funcs = funcs, includes = includes}) + local ok, results_or_errors = sandbox.load(self._has_cxsnippets, snippets, {target = self, sourcekind = sourcekind, types = types, funcs = funcs, includes = includes}) if not ok then return false, results_or_errors end |
