Update README.md

This commit is contained in:
Daniel Lemire 2021-07-16 09:38:05 -04:00 committed by GitHub
parent 33f3d90397
commit 3bd0c01c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ Or you may want to retrieve the dependency automatically if you have a sufficien
FetchContent_Declare(
fast_float
GIT_REPOSITORY https://github.com/lemire/fast_float.git
GIT_TAG origin/main
GIT_TAG tags/v1.1.2
GIT_SHALLOW TRUE)
FetchContent_MakeAvailable(fast_float)
@ -140,6 +140,8 @@ target_link_libraries(myprogram PUBLIC fast_float)
```
You should change the `GIT_TAG` line so that you recover the version you wish to use.
## Using as single header
The script `script/amalgamate.py` may be used to generate a single header