[json-schema-validator] Fix usage (#36551)

This commit is contained in:
Kai Pastor 2024-02-05 20:31:14 +01:00 committed by GitHub
parent 02ac6b37d3
commit 657cf75d15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 10 additions and 4 deletions

View File

@ -21,6 +21,6 @@ vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

View File

@ -1,4 +1,4 @@
The package json-schema-validator provides CMake integration:
json-schema-validator provides CMake integration:
find_package(nlohmann_json_schema_validator REQUIRED)
target_link_libraries(main PRIVATE nlohmann_json_schema_validator)
target_link_libraries(main PRIVATE nlohmann_json_schema_validator::validator)

View File

@ -1,6 +1,7 @@
{
"name": "json-schema-validator",
"version": "2.3.0",
"port-version": 1,
"description": "C++ library for validating JSON documents based on a JSON Schema. This validator is based on the nlohmann-json library.",
"homepage": "https://github.com/pboettch/json-schema-validator",
"license": "MIT",

View File

@ -3706,7 +3706,7 @@
},
"json-schema-validator": {
"baseline": "2.3.0",
"port-version": 0
"port-version": 1
},
"json-spirit": {
"baseline": "4.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "31c71975b94068010a3985ac84deed50047c6820",
"version": "2.3.0",
"port-version": 1
},
{
"git-tree": "4466bee34b5544a3ecfaf5f480464b1f9d45e9b1",
"version": "2.3.0",