summaryrefslogtreecommitdiff
path: root/xmake/core/project/option.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/project/option.lua')
-rw-r--r--xmake/core/project/option.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/option.lua b/xmake/core/project/option.lua
index e9a2ef20d..d74b74996 100644
--- a/xmake/core/project/option.lua
+++ b/xmake/core/project/option.lua
@@ -69,7 +69,7 @@ function _instance:_clear()
end
-- check snippets
-function _instance:_do_check_cxsnippts(snippets)
+function _instance:_do_check_cxsnippets(snippets)
-- import check_cxsnippets()
self._check_cxsnippets = self._check_cxsnippets or sandbox_module.import("lib.detect.check_cxsnippets", {anonymous = true})
@@ -220,7 +220,7 @@ end
function _instance:_do_check()
-- check snippets
- local ok, passed, errors = self:_do_check_cxsnippts()
+ local ok, passed, errors = self:_do_check_cxsnippets()
if not ok then
return false, errors
end