From c906f864d7ce55fffe427449560de7abfd5078d5 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Fri, 16 Jul 2021 09:33:43 -0400 Subject: [PATCH] Update basics.md --- doc/basics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/basics.md b/doc/basics.md index a77c455a..175e4e5f 100644 --- a/doc/basics.md +++ b/doc/basics.md @@ -68,13 +68,13 @@ include(FetchContent) FetchContent_Declare( simdjson GIT_REPOSITORY https://github.com/simdjson/simdjson.git - GIT_TAG e9b893ff1b13c6a70135827c62b3f3d65938d135 # version 0.9.6 + GIT_TAG tags/v0.9.6 GIT_SHALLOW TRUE) FetchContent_MakeAvailable(simdjson) ``` -You should provide `GIT_TAG` with the commit hash corresponding to the release you need. If you omit `GIT_TAG ...`, you will work from the main branch of simdjson: we recommend that if you are working on production code, you always work from a release. +You should provide `GIT_TAG` with the release you need. If you omit `GIT_TAG ...`, you will work from the main branch of simdjson: we recommend that if you are working on production code, you always work from a release. Elsewhere in your project, you can declare dependencies on simdjson with lines such as these: