diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-09-04 13:35:06 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-09-04 13:35:14 (GMT) |
commit | 0e7bb4e783f596a1995d3a713682e6a54a41781e (patch) | |
tree | c2265f541fd9a0784d296761f296105b1d5e31a7 | |
parent | 6dd6f911178e7daface0b8c3be4b70f920dd8d40 (diff) | |
parent | 2a21555ea7861f640931b1fd2458f6f7bdb3253e (diff) | |
download | CMake-0e7bb4e783f596a1995d3a713682e6a54a41781e.zip CMake-0e7bb4e783f596a1995d3a713682e6a54a41781e.tar.gz CMake-0e7bb4e783f596a1995d3a713682e6a54a41781e.tar.bz2 |
Merge topic 'ExternalProject-default-git-tag' into release-3.24
2a21555ea7 ExternalProject: note the default of `GIT_TAG` being `master`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7631
-rw-r--r-- | Modules/ExternalProject.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index c7948cd..9952658 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -301,6 +301,9 @@ External Project Definition If ``GIT_SHALLOW`` is enabled then ``GIT_TAG`` works only with branch names and tags. A commit hash is not allowed. + Note that if not provided, ``GIT_TAG`` defaults to ``master``, not the + default Git branch name. + ``GIT_REMOTE_NAME <name>`` The optional name of the remote. If this option is not specified, it defaults to ``origin``. |