diff options
| -rw-r--r-- | xmake/includes/check/check_macros.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/includes/check/check_macros.lua b/xmake/includes/check/check_macros.lua index bf87b273e..ebefe482a 100644 --- a/xmake/includes/check/check_macros.lua +++ b/xmake/includes/check/check_macros.lua @@ -71,6 +71,9 @@ function check_macros(definition, macros, opt) if opt.cxxflags then add_cxxflags(opt.cxxflags) end + if opt.includes then + add_cincludes(opt.includes) + end option_end() interp_restore_scope() add_options(optname) @@ -130,6 +133,9 @@ function configvar_check_macros(definition, macros, opt) if opt.cxxflags then add_cxxflags(opt.cxxflags) end + if opt.includes then + add_cincludes(opt.includes) + end option_end() interp_restore_scope() if opt.default == nil then |
