summaryrefslogtreecommitdiff
path: root/xmake/includes/check_ctypes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/includes/check_ctypes.lua')
-rw-r--r--xmake/includes/check_ctypes.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/includes/check_ctypes.lua b/xmake/includes/check_ctypes.lua
index d14c64aa7..3b9c7395e 100644
--- a/xmake/includes/check_ctypes.lua
+++ b/xmake/includes/check_ctypes.lua
@@ -30,6 +30,7 @@ function check_ctypes(definition, types, opt)
local optname = "__" .. (opt.name or definition)
save_scope()
option(optname)
+ set_showmenu(false)
add_ctypes(types)
add_defines(definition)
if opt.languages then
@@ -67,6 +68,7 @@ function configvar_check_ctypes(definition, types, opt)
local defname, defval = table.unpack(definition:split('='))
save_scope()
option(optname)
+ set_showmenu(false)
add_ctypes(types)
if opt.default == nil then
set_configvar(defname, defval or 1, {quote = opt.quote})