summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-09 00:47:01 +0800
committerruki <[email protected]>2025-04-09 00:47:01 +0800
commit537f610d20d3a7f46345a928da4d8f65bad4753e (patch)
treeff0e378d74d6b19e39bb8eb380b0df4d3390feac
parentfd129538be29cabad2c2650f9b837ab1afc28a1e (diff)
revert 3.0 policy
-rw-r--r--xmake/core/project/policy.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/policy.lua b/xmake/core/project/policy.lua
index c3754d540..03053cb3e 100644
--- a/xmake/core/project/policy.lua
+++ b/xmake/core/project/policy.lua
@@ -164,7 +164,7 @@ 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", values = {"2.0", "3.0"}}
}
policy._POLICIES = policies
end