summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-03 00:43:18 +0800
committerruki <[email protected]>2025-06-03 00:43:18 +0800
commitb51ce4ebec27a4ca3b10f29eb4bbfe3024c5f9fd (patch)
tree55fcf5f1eb6c74e8022b452b8abd414062340f75
parentb975efbeb8091ee9e6ff10bd3a55a58cde80ff7c (diff)
fix error
-rw-r--r--xmake/core/project/policy.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua
index d6f0a063d..010ae61cf 100644
--- a/xmake/core/project/policy.lua
+++ b/xmake/core/project/policy.lua
@@ -178,9 +178,9 @@ function policy.policies()
-- private: it will disable fetch remote package repositories
["network.mode"] = {description = "Set the network mode", type = "string"},
-- Set the compatibility version, e.g. 2.0, 3.0
- ["compatibility.version"] = {description = "Set the compatibility version", type = "string", default = "3.0", values = {"2.0", "3.0"},
+ ["compatibility.version"] = {description = "Set the compatibility version", type = "string", default = "3.0", values = {"2.0", "3.0"}},
-- Enable or disable multiverison solution output
- ["generator.vsxmake.multiversion"] = {description = "Enable or disable multiverison solution output", default = true, type = "boolean"}}
+ ["generator.vsxmake.multiversion"] = {description = "Enable or disable multiverison solution output", default = true, type = "boolean"}
}
policy._POLICIES = policies
end