aboutsummaryrefslogtreecommitdiff
path: root/scripts/vcpkg.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vcpkg.schema.json')
-rw-r--r--scripts/vcpkg.schema.json19
1 files changed, 11 insertions, 8 deletions
diff --git a/scripts/vcpkg.schema.json b/scripts/vcpkg.schema.json
index c485aa415..215f5dd9c 100644
--- a/scripts/vcpkg.schema.json
+++ b/scripts/vcpkg.schema.json
@@ -128,6 +128,10 @@
"$ref": "#/definitions/identifier"
}
},
+ "host": {
+ "type": "boolean",
+ "default": false
+ },
"default-features": {
"type": "boolean",
"default": true
@@ -190,9 +194,6 @@
"description": "A package feature that can be activated by consumers.",
"type": "object",
"properties": {
- "name": {
- "$ref": "#/definitions/identifier"
- },
"description": {
"$ref": "#/definitions/description-field"
},
@@ -208,7 +209,6 @@
"^\\$": {}
},
"required": [
- "name",
"description"
],
"additionalProperties": false
@@ -279,10 +279,13 @@
}
},
"features": {
- "description": "An array of features supported by the package",
- "type": "array",
- "items": {
- "$ref": "#/definitions/feature"
+ "description": "An object of features supported by the package",
+ "type": "object",
+ "patternProperties": {
+ "^\\$": {},
+ "^[a-z-]+": {
+ "$ref": "#/definitions/feature"
+ }
}
},
"default-features": {