diff options
author | ZyX <kp-pav@yandex.ru> | 2017-03-31 11:49:18 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-03-31 16:04:18 +0300 |
commit | 24fd125893203c667789cb574b289fc1c9eaf6bc (patch) | |
tree | 2ea2882114789bc0861b3da17979ee35ffd3b4ef /cmake | |
parent | 8204eaea7f07c7fd2784bee2c2cfd495d49877df (diff) | |
download | rneovim-24fd125893203c667789cb574b289fc1c9eaf6bc.tar.gz rneovim-24fd125893203c667789cb574b289fc1c9eaf6bc.tar.bz2 rneovim-24fd125893203c667789cb574b289fc1c9eaf6bc.zip |
cmake: Allow failing to download small suppress files
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Download.cmake | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cmake/Download.cmake b/cmake/Download.cmake index 470bb19a08..50a77816bc 100644 --- a/cmake/Download.cmake +++ b/cmake/Download.cmake @@ -8,9 +8,11 @@ list(GET status 0 status_code) list(GET status 1 status_string) if(NOT status_code EQUAL 0) - message(FATAL_ERROR "error: downloading '${URL}' failed - status_code: ${status_code} - status_string: ${status_string} - log: ${log} -") + if(NOT ALLOW_FAILURE) + message(FATAL_ERROR "error: downloading '${URL}' failed + status_code: ${status_code} + status_string: ${status_string} + log: ${log} + ") + endif() endif() |