diff options
author | John Szakmeister <john@szakmeister.net> | 2015-02-06 17:30:02 -0500 |
---|---|---|
committer | John Szakmeister <john@szakmeister.net> | 2015-02-09 06:30:17 -0500 |
commit | 2019380bfae3cd8609c7f8b57d27a934370a5e8e (patch) | |
tree | 69d7757ef9878fcc648516328898b64928a619fd /src/nvim/api/vim.c | |
parent | 28dcfcf325d222ae311bf972997c92bc1efd3e8f (diff) | |
download | rneovim-2019380bfae3cd8609c7f8b57d27a934370a5e8e.tar.gz rneovim-2019380bfae3cd8609c7f8b57d27a934370a5e8e.tar.bz2 rneovim-2019380bfae3cd8609c7f8b57d27a934370a5e8e.zip |
build: split hash checking from the download step
It turns out that `file(DOWNLOAD ...)` is not very user friendly with
it's error message, and only supports MD5 on v2.8.10 of CMake (the
default for Ubuntu 12.04). If CMake is built without SSL support,
users are left hanging with a message that the hashes don't match.
It turns out that `file(SHA1 ...)` exists in v2.8.10, and we
can use that to compute the hash ourselves. So this splits the hash
checking into a separate step, where we can provide some additional
advice if the SHA1 is the hash for an empty file. Additionally, it also
allows us to drop the MD5 hashes and maintain only SHA1 hashes for our
dependencies.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions