summaryrefslogtreecommitdiffstats
path: root/Modules/ExternalProject.cmake
diff options
context:
space:
mode:
authorMatt McCormick <matt.mccormick@kitware.com>2018-06-04 20:14:24 (GMT)
committerMatt McCormick <matt.mccormick@kitware.com>2018-06-04 20:17:58 (GMT)
commit470ff56e5aca5ee0b050aabc2bf6537bb3681b36 (patch)
tree089e406c0a35471305bee07cb0881d91be4d2a5e /Modules/ExternalProject.cmake
parent8738eba336d0f89cd3c183fe32413283abe9140d (diff)
downloadCMake-470ff56e5aca5ee0b050aabc2bf6537bb3681b36.zip
CMake-470ff56e5aca5ee0b050aabc2bf6537bb3681b36.tar.gz
CMake-470ff56e5aca5ee0b050aabc2bf6537bb3681b36.tar.bz2
ExternalProject: Improve URL_HASH argument description
The previous documentation suggested ALGO=MD5=d7a3dc7757a35df3dbb890f7dee0976b for example.
Diffstat (limited to 'Modules/ExternalProject.cmake')
-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