2021-09-24 14:16:47 -07:00
|
|
|
add_library( nlohmann_json_schema_validator STATIC
|
2021-03-11 21:59:23 -08:00
|
|
|
json-schema-draft7.json.cpp
|
|
|
|
json-uri.cpp
|
|
|
|
json-validator.cpp
|
|
|
|
json-patch.cpp
|
|
|
|
string-format-check.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories( nlohmann_json_schema_validator
|
|
|
|
PUBLIC
|
|
|
|
$<INSTALL_INTERFACE:include>
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
|
|
)
|
|
|
|
|
2025-01-05 16:34:41 -05:00
|
|
|
target_include_directories( nlohmann_json_schema_validator INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} )
|
|
|
|
|
2021-03-11 21:59:23 -08:00
|
|
|
target_link_libraries( nlohmann_json_schema_validator
|
|
|
|
PUBLIC nlohmann_json
|
|
|
|
)
|