From e4f1ade4590154e0a8355349cbe54f3ab017eacc Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Wed, 22 May 2019 10:46:48 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5a77a99..c06a66e 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ set_target_properties(benchmark PROPERTIES CXX_STANDARD 17) ### [nlohmann/json](https://github.com/nlohmann/json) Header-only library with a huge git repositoy. -Instead of downloading the whole repositoy, we fetch the zip included with the release and create our own target. +Instead of downloading the whole repositoy which would take a long time, we fetch the zip included with the release and create our own target. ```cmake CPMAddPackage( @@ -131,7 +131,7 @@ if (nlohmann_json_ADDED) endif() ``` -Adding large repos works as well, but takes a while for the initial clone. +Note the check for `nlohmann_json_ADDED`, before creating the target. This ensures that the same target is not added twice by another dependency. ### [Lua](https://www.lua.org)