ExternalProject should try `wget` if `curl` does not support https
Believe it or not, sometimes you are stuck on a system that has both wget
and curl
, but without https
support in curl
. In this case, if your DOWNLOAD_URL
needs https
, then you will see:
CMake Error at src/...:27 (message):
error: downloading
'https://...'
failed
status_code: 1
status_string: "Unsupported protocol"
log: Protocol "https" not supported or disabled in libcurl
Closing connection -1
I realize this will not affect most people, but it would be nice if this could be checked and accommodated to preserve the auto-magic for end users.