diff --git a/CMakeLists.txt b/CMakeLists.txt index 258481f..fcb9d1c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ include(FetchContent) # find nlohmann_json if not found simply fetch it find_package(nlohmann_json QUIET) if(NOT nlohmann_json_FOUND) + message(STATUS "nlohmann_json NOT FOUND, fetching version v3.10.4") FetchContent_Declare(json GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent GIT_TAG v3.10.4) diff --git a/README.md b/README.md index 627073c..e60437c 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ cmake [..] -DBUILD_SHARED_LIBS=ON [..] In your initial call to cmake simply add: ```bash -cmake [..] -JSON_VALIDATOR_BUILD_EXAMPLES=ON [..] +cmake [..] -DJSON_VALIDATOR_BUILD_EXAMPLES=ON [..] ``` Run examples with: @@ -149,7 +149,7 @@ Run examples with: In your initial call to cmake simply add: ```bash -cmake [..] -JSON_VALIDATOR_BUILD_TESTS=ON [..] +cmake [..] -DJSON_VALIDATOR_BUILD_TESTS=ON [..] ``` Once build run tests with: