Ankush Singh 31aea25728
[json-schema-validator] Add new port (#11599)
* [json-schema-validator] Add new port

* [json-schema-validator] Fix string ambiguous assignment error

* [json-schema-validator] Remove redundant part from patch's path

* [json-schema-validator] Forward find_package() for nlohmann_json

* [json-schema-validator] comment out lines from source's CMakeLists.txt

* [json-schema-validator] Improve portfile.cmake and regenerate patch

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2020-06-11 00:21:27 -07:00

5 lines
192 B
Plaintext

The package json-schema-validator provides CMake integration:
find_package(nlohmann_json_schema_validator REQUIRED)
target_link_libraries(main PRIVATE nlohmann_json_schema_validator)