Update basics.md
This commit is contained in:
parent
b08818fab9
commit
68e3c4f984
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue