diff options
| author | ruki <[email protected]> | 2022-06-03 00:55:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-06-03 00:55:31 +0800 |
| commit | 8e5e0c6038239eae863341bcf060f6d0ae4e7348 (patch) | |
| tree | f98fdd93bd8d8d4338f38becaa55006e7b127ba5 /xmake/includes/check_cincludes.lua | |
| parent | 73eab3a212c5db9ca2f739ba4b4a3ab80e662072 (diff) | |
improve option/showmenu
Diffstat (limited to 'xmake/includes/check_cincludes.lua')
| -rw-r--r-- | xmake/includes/check_cincludes.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/includes/check_cincludes.lua b/xmake/includes/check_cincludes.lua index c954b5260..8bed49968 100644 --- a/xmake/includes/check_cincludes.lua +++ b/xmake/includes/check_cincludes.lua @@ -30,6 +30,7 @@ function check_cincludes(definition, includes, opt) local optname = "__" .. (opt.name or definition) save_scope() option(optname) + set_showmenu(false) add_cincludes(includes) if opt.includedirs then add_includedirs(opt.includedirs) @@ -54,6 +55,7 @@ function configvar_check_cincludes(definition, includes, opt) local defname, defval = table.unpack(definition:split('=')) save_scope() option(optname) + set_showmenu(false) add_cincludes(includes) if opt.includedirs then add_includedirs(opt.includedirs) |
