Update basics.md

This commit is contained in:
Daniel Lemire 2021-04-08 14:34:10 -04:00 committed by GitHub
parent b3a22bea56
commit c667b0cfdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -66,13 +66,13 @@ include(FetchContent)
FetchContent_Declare(
simdjson
GIT_REPOSITORY https://github.com/simdjson/simdjson.git
GIT_TAG v0.9.0
GIT_TAG v0.9.3
GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(simdjson)
```
You should replace `GIT_TAG v0.9.0` by the version you need. If you omit `GIT_TAG v0.9.0`, you will work from the main branch of simdjson: we recommend that if you are working on production code,
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.
Elsewhere in your project, you can declare dependencies on simdjson with lines such as these: