Is there some way to show download progress while downloading git repository using FetchContent?
I tried to clear FETCHCONTENT_QUIET, but it did nothing. I have no idea if it is even possible.
Is there some way to show download progress while downloading git repository using FetchContent?
I tried to clear FETCHCONTENT_QUIET, but it did nothing. I have no idea if it is even possible.
Clarification: To see git clone progress, you need to set both FetchContent_Quiet and GIT_PROGRESS as in the below example
Set(FETCHCONTENT_QUIET FALSE)
FetchContent_Declare(
someTarget
GIT_REPOSITORY "https://github.com/someone/someTarget.git"
GIT_TAG "tag"
GIT_PROGRESS TRUE
)
I just figured out that I have to use GIT_PROGRESS <bool> in FetchContent_Declare.
FetchContent_Declare(
someTarget
GIT_REPOSITORY "https://github.com/someone/someTarget.git"
GIT_TAG "tag"
GIT_PROGRESS TRUE
)