diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-09-04 13:35:06 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-09-04 09:35:15 -0400 |
commit | 9bbd5f71e9248ac4f6e7be750366932191e87373 (patch) | |
tree | b7dbb6589179da0f8ea7a1e4cd3a8c7f2f3a5bdd /Modules/ExternalProject.cmake | |
parent | 61d434d6a7880b7e13e24b666c1115546d6b6756 (diff) | |
parent | 2a21555ea7861f640931b1fd2458f6f7bdb3253e (diff) | |
download | cmake-9bbd5f71e9248ac4f6e7be750366932191e87373.tar.gz |
Merge topic 'ExternalProject-default-git-tag'
2a21555ea7 ExternalProject: note the default of `GIT_TAG` being `master`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7631
Diffstat (limited to 'Modules/ExternalProject.cmake')
-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 2520cf3d9d..9306ce6923 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``. |