summaryrefslogtreecommitdiff
path: root/xmake/core/project
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-09 00:57:47 +0800
committerruki <[email protected]>2025-04-09 00:57:47 +0800
commit40f2da18943f7f5e18f838365aebe633c32efc30 (patch)
tree638d67006bdd6d169b4474dc806a6e9303533d34 /xmake/core/project
parent9d8707ae3fe665f5f33991f1088d707f334546e5 (diff)
improve vs runtime
Diffstat (limited to 'xmake/core/project')
-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 03053cb3e..c3754d540 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", values = {"2.0", "3.0"}}
+ ["compatibility.version"] = {description = "Set the compatibility version", type = "string", default = "3.0", values = {"2.0", "3.0"}}
}
policy._POLICIES = policies
end