소스 검색

Merge topic 'external-project-url-hash-docs'

470ff56e5a ExternalProject: Improve URL_HASH argument description

Acked-by: Kitware Robot <[email protected]>
Merge-request: !2134
Craig Scott 7 년 전
부모
커밋
d8ea0afa30
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      Modules/ExternalProject.cmake

+ 3 - 3
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