[CMake] How URL_MD5 is computed in ExternalProject_Add?

Cedric Doucet cedric.doucet at inria.fr
Tue May 19 06:37:03 EDT 2015


Hello, 

I use the URL_MD5 variable to avoid downloading more than once a library with the ExternalProject_Add command. 
However, I don't manage to get the same MD5 code as CMake when I try to get one with generators available on the internet. 

How could I get the same one for an URL written in the form http://www.mywebsite.myext/mypath/myfile? 
I have already tried the MD5 of the URL and of myfile but I don't get the same MD5 as CMake. 

Thanks! 

Cédric 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150519/6eced6a4/attachment.html>


More information about the CMake mailing list