mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
Update README.md
This commit is contained in:
parent
33f3d90397
commit
3bd0c01c6c
@ -132,7 +132,7 @@ Or you may want to retrieve the dependency automatically if you have a sufficien
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
fast_float
|
fast_float
|
||||||
GIT_REPOSITORY https://github.com/lemire/fast_float.git
|
GIT_REPOSITORY https://github.com/lemire/fast_float.git
|
||||||
GIT_TAG origin/main
|
GIT_TAG tags/v1.1.2
|
||||||
GIT_SHALLOW TRUE)
|
GIT_SHALLOW TRUE)
|
||||||
|
|
||||||
FetchContent_MakeAvailable(fast_float)
|
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
|
## Using as single header
|
||||||
|
|
||||||
The script `script/amalgamate.py` may be used to generate a single header
|
The script `script/amalgamate.py` may be used to generate a single header
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user