doc: update example tag/version

This commit is contained in:
ToruNiina
2025-01-13 19:50:06 +09:00
parent df089a82e5
commit 499be3c177
2 changed files with 45 additions and 15 deletions

View File

@@ -126,7 +126,7 @@ include(FetchContent)
FetchContent_Declare(
toml11
GIT_REPOSITORY https://github.com/ToruNiina/toml11.git
GIT_TAG v4.1.0
GIT_TAG v4.3.0
)
FetchContent_MakeAvailable(toml11)
@@ -141,14 +141,14 @@ After [adding cpm to your project](https://github.com/cpm-cmake/CPM.cmake?tab=re
```cmake
include(cmake/CPM.cmake)
CPMAddPackage("gh:ToruNiina/toml11@4.2.0")
CPMAddPackage("gh:ToruNiina/toml11@4.3.0")
# OR
CPMAddPackage(
NAME toml11
GITHUB_REPOSITORY "ToruNiina/toml11"
VERSION 4.2.0
VERSION 4.3.0
OPTIONS "TOML11_PRECOMPILE ON" # to pre-compile
)