[CMake] file(DOWNLOAD) and HTTP 302 (redirect)
Michael Wild
themiwi at gmail.com
Fri Jun 4 04:00:18 EDT 2010
When downloading something from http://downloads.sourceforge.net/... you always get a 302 redirect to one of the many mirror servers. Unfortunately, it seems that file(DOWNLOAD ...) doesn't follow the redirect, but just stops and leaves an empty file behind. No error, no nothing. Is this intentional?
I'd rather not use a specific mirror...
Michael
More information about the CMake
mailing list