From 13b4bb65d25c64eeb7e45ec6f073f003437385b7 Mon Sep 17 00:00:00 2001 From: Simon Brunel Date: Thu, 1 Oct 2020 22:48:20 +0200 Subject: [PATCH] Fix CMake FetchContent documentation GIT_TAG --- docs/qtpromise/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/qtpromise/getting-started.md b/docs/qtpromise/getting-started.md index d536711..a74f28e 100644 --- a/docs/qtpromise/getting-started.md +++ b/docs/qtpromise/getting-started.md @@ -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).