ExternalProject: Improve URL_HASH argument description

The previous documentation suggested

  ALGO=MD5=d7a3dc7757a35df3dbb890f7dee0976b

for example.
This commit is contained in:
Matt McCormick
2018-06-04 16:14:24 -04:00
parent 8738eba336
commit 470ff56e5a

View File

@@ -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