Ajout du validateur json + correctif factory metadata
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# This is a simple project that tests using cmake to load the installed libraries
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
|
||||
project(test_fetch_content LANGUAGES CXX)
|
||||
|
||||
|
||||
FetchContent_Declare(nlohmann_json_schema_validator
|
||||
GIT_REPOSITORY https://github.com/pboettch/json-schema-validator
|
||||
GIT_TAG main
|
||||
)
|
||||
FetchContent_MakeAvailable(nlohmann_json_schema_validator)
|
||||
|
||||
if (NOT TARGET nlohmann_json_schema_validator::validator)
|
||||
message(FATAL_ERROR "Missing target nlohmann_json_schema_validator::validator")
|
||||
endif ()
|
||||
Reference in New Issue
Block a user