diff options
Diffstat (limited to 'ports/cjson')
| -rw-r--r-- | ports/cjson/CONTROL | 7 | ||||
| -rw-r--r-- | ports/cjson/portfile.cmake | 3 | ||||
| -rw-r--r-- | ports/cjson/vcpkg.json | 12 |
3 files changed, 14 insertions, 8 deletions
diff --git a/ports/cjson/CONTROL b/ports/cjson/CONTROL deleted file mode 100644 index 27474316a..000000000 --- a/ports/cjson/CONTROL +++ /dev/null @@ -1,7 +0,0 @@ -Source: cjson
-Version: 2019-11-30-1
-Description: Ultralightweight JSON parser in ANSI C
-Homepage: https://github.com/DaveGamble/cJSON
-
-Feature: utils
-Description: Enable building the cJSON_Utils library
diff --git a/ports/cjson/portfile.cmake b/ports/cjson/portfile.cmake index 058c9009d..52e84654a 100644 --- a/ports/cjson/portfile.cmake +++ b/ports/cjson/portfile.cmake @@ -8,7 +8,8 @@ vcpkg_from_github( vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- utils ENABLE_CJSON_UTILS
+ FEATURES
+ utils ENABLE_CJSON_UTILS
)
if(CMAKE_HOST_WIN32)
diff --git a/ports/cjson/vcpkg.json b/ports/cjson/vcpkg.json new file mode 100644 index 000000000..92bec5fb2 --- /dev/null +++ b/ports/cjson/vcpkg.json @@ -0,0 +1,12 @@ +{ + "name": "cjson", + "version-date": "2019-11-30", + "port-version": 2, + "description": "Ultralightweight JSON parser in ANSI C", + "homepage": "https://github.com/DaveGamble/cJSON", + "features": { + "utils": { + "description": "Enable building the cJSON_Utils library" + } + } +} |
