diff options
author | Craig Scott <craig.scott@crascit.com> | 2018-06-05 09:47:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-06-05 09:47:29 (GMT) |
commit | d8ea0afa30a082e72e82687afc2e9e0cf300cb75 (patch) | |
tree | a24bb80b5f42a49b007b3d4a8ec513c67d576135 /Modules | |
parent | 0fa6f8b2f551dacb37b98b22c70d318740fac7b1 (diff) | |
parent | 470ff56e5aca5ee0b050aabc2bf6537bb3681b36 (diff) | |
download | CMake-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.cmake | 6 |
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 |