Update basics.md

This commit is contained in:
Daniel Lemire 2021-07-16 09:27:34 -04:00 committed by GitHub
parent b08818fab9
commit 68e3c4f984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -68,13 +68,13 @@ include(FetchContent)
FetchContent_Declare(
simdjson
GIT_REPOSITORY https://github.com/simdjson/simdjson.git
GIT_TAG v0.9.3
GIT_TAG e9b893ff1b13c6a70135827c62b3f3d65938d135 # version 0.9.6
GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(simdjson)
```
You should replace `GIT_TAG v0.9.3` by the version you need. If you omit `GIT_TAG v0.9.3`, 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 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.
Elsewhere in your project, you can declare dependencies on simdjson with lines such as these: