summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/includes/check/check_macros.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/includes/check/check_macros.lua b/xmake/includes/check/check_macros.lua
index 505377684..2235798ec 100644
--- a/xmake/includes/check/check_macros.lua
+++ b/xmake/includes/check/check_macros.lua
@@ -55,6 +55,7 @@ function check_macros(definition, macros, opt)
else
add_csnippets(definition, table.concat(snippets, "\n"))
end
+ add_defines(definition)
if opt.languages then
set_languages(opt.languages)
end