summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-06-05 15:21:11 (GMT)
committerBrad King <brad.king@kitware.com>2018-06-05 15:21:11 (GMT)
commit2ccd426045cbd6357b349c50f97e86394742b9c3 (patch)
tree87346397a54ac0d5b887437a932b74caf4e7a217 /Modules
parent25845a917aa2a40488e6ff37a577177e67b1a1cc (diff)
parent470ff56e5aca5ee0b050aabc2bf6537bb3681b36 (diff)
downloadCMake-2ccd426045cbd6357b349c50f97e86394742b9c3.zip
CMake-2ccd426045cbd6357b349c50f97e86394742b9c3.tar.gz
CMake-2ccd426045cbd6357b349c50f97e86394742b9c3.tar.bz2
Merge branch 'external-project-url-hash-docs' into release-3.11
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 0a1c0c0..0c5b33f 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