Update basics.md
This commit is contained in:
parent
68e3c4f984
commit
c906f864d7
|
@ -68,13 +68,13 @@ include(FetchContent)
|
||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
simdjson
|
simdjson
|
||||||
GIT_REPOSITORY https://github.com/simdjson/simdjson.git
|
GIT_REPOSITORY https://github.com/simdjson/simdjson.git
|
||||||
GIT_TAG e9b893ff1b13c6a70135827c62b3f3d65938d135 # version 0.9.6
|
GIT_TAG tags/v0.9.6
|
||||||
GIT_SHALLOW TRUE)
|
GIT_SHALLOW TRUE)
|
||||||
|
|
||||||
FetchContent_MakeAvailable(simdjson)
|
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:
|
Elsewhere in your project, you can declare dependencies on simdjson with lines such as these:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue