summaryrefslogtreecommitdiff
path: root/xmake/core/base/package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/base/package.lua')
-rw-r--r--xmake/core/base/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/package.lua b/xmake/core/base/package.lua
index 5290ea47f..143546299 100644
--- a/xmake/core/base/package.lua
+++ b/xmake/core/base/package.lua
@@ -97,7 +97,7 @@ function package._done_library(target)
-- the xmake.lua template content
local template = [[
-- add [targetname] package
-def_option("[targetname]")
+option("[targetname]")
-- show menu
set_option_showmenu(true)