[CMake] FetchContent/ExternalProject and URL_HASH

Dustyn Blasig dustyn at blasig.us
Tue Jul 16 22:58:46 EDT 2019


Hi All,

We are pulling some artifacts from Artifactory which provides a checksum
file along with the artifacts at <artifact-url>.md5 or .sha256. If I do not
include URL_HASH, does CMake automatically check to see if such a checksum
file exists and use it's value for the hash check? Or is there a way to
provide a URL for the checksum file rather than having to do file(DOWNLOAD
<checksum>), file(STRING <checksum-file>), URL_HASH=<checksum-var>?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190716/7630f77f/attachment.html>


More information about the CMake mailing list