kicad/thirdparty/json_schema_validator/CMakeLists.txt

21 lines
501 B
CMake
Raw Normal View History

add_library( nlohmann_json_schema_validator STATIC
2021-03-12 05:59:23 +00:00
json-schema-draft7.json.cpp
json-uri.cpp
json-validator.cpp
json-patch.cpp
string-format-check.cpp
)
add_dependencies( nlohmann_json_schema_validator kicommon )
2021-03-12 05:59:23 +00:00
target_include_directories( nlohmann_json_schema_validator
PUBLIC
$<INSTALL_INTERFACE:include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
)
target_link_libraries( nlohmann_json_schema_validator
PUBLIC nlohmann_json
PRIVATE kicommon
2021-03-12 05:59:23 +00:00
)