summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-06-05 09:47:10 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-06-05 09:47:29 (GMT)
commitd8ea0afa30a082e72e82687afc2e9e0cf300cb75 (patch)
treea24bb80b5f42a49b007b3d4a8ec513c67d576135 /Modules
parent0fa6f8b2f551dacb37b98b22c70d318740fac7b1 (diff)
parent470ff56e5aca5ee0b050aabc2bf6537bb3681b36 (diff)
downloadCMake-d8ea0afa30a082e72e82687afc2e9e0cf300cb75.zip
CMake-d8ea0afa30a082e72e82687afc2e9e0cf300cb75.tar.gz
CMake-d8ea0afa30a082e72e82687afc2e9e0cf300cb75.tar.bz2
Merge topic 'external-project-url-hash-docs'
470ff56e5a ExternalProject: Improve URL_HASH argument description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2134
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ExternalProject.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index db19691..370d447 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -133,9 +133,9 @@ External Project Definition
is determined by inspecting the actual content rather than using logic
based on the file extension.
- ``URL_HASH ALGO=<value>``
- Hash of the archive file to be downloaded. The ``<value>`` should be of
- the form ``algo=hashValue`` where ``algo`` can be any of the hashing
+ ``URL_HASH <algo>=<hashValue>``
+ Hash of the archive file to be downloaded. The argument should be of
+ the form ``<algo>=<hashValue>`` where ``algo`` can be any of the hashing
algorithms supported by the :command:`file()` command. Specifying this
option is strongly recommended for URL downloads, as it ensures the
integrity of the downloaded content. It is also used as a check for a