summaryrefslogtreecommitdiff
path: root/xmake/actions/config/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/actions/config/main.lua')
-rw-r--r--xmake/actions/config/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua
index 1a04e0942..bc7fa5fc2 100644
--- a/xmake/actions/config/main.lua
+++ b/xmake/actions/config/main.lua
@@ -207,7 +207,7 @@ function main()
options_changed = options_changed or options_history[name] ~= value
-- @note override it and mark as readonly (highest priority)
- config.set(name, value, true)
+ config.set(name, value, {readonly = true})
end
-- merge the cached configure