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.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/option.lua b/xmake/core/project/option.lua
index 75866e71b..1dd480197 100644
--- a/xmake/core/project/option.lua
+++ b/xmake/core/project/option.lua
@@ -177,7 +177,7 @@ function option:_check()
end
-- trace
- utils.cprint("checking for the %s ... %s", name, utils.ifelse(self:enabled(), "${green}ok", "${red}no"))
+ utils.cprint("checking for the %s ... %s", name, self:enabled() and "${color.success}${text.success}" or "${color.nothing}${text.nothing}")
if not ok then
os.raise(errors)
end