mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 00:39:44 +08:00
[json-schema-validator] Fix usage (#36551)
This commit is contained in:
parent
02ac6b37d3
commit
657cf75d15
@ -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}")
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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",
|
||||
|
@ -3706,7 +3706,7 @@
|
||||
},
|
||||
"json-schema-validator": {
|
||||
"baseline": "2.3.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"json-spirit": {
|
||||
"baseline": "4.1.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "31c71975b94068010a3985ac84deed50047c6820",
|
||||
"version": "2.3.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "4466bee34b5544a3ecfaf5f480464b1f9d45e9b1",
|
||||
"version": "2.3.0",
|
||||
|
Loading…
Reference in New Issue
Block a user