Fix CMake FetchContent documentation GIT_TAG

This commit is contained in:
Simon Brunel 2020-10-01 22:48:20 +02:00
parent b7ecd95b04
commit 13b4bb65d2

View File

@ -97,7 +97,7 @@ include(FetchContent)
FetchContent_Declare(qtpromise
GIT_REPOSITORY https://github.com/simonbrunel/qtpromise.git
GIT_TAG origin/v0.6.0
GIT_TAG v0.6.0
GIT_SHALLOW true
)
@ -207,5 +207,5 @@ download(url).then(&uncompress).then([](const Entries& entries) {
});
```
Note that `MalformedException` in the example above is thrown from a QtConcurrent thread and should
Note that `MalformedException` in the example above is thrown from a QtConcurrent thread and should
meet [specific conditions](qtconcurrent.md#error).