diff options
| author | dundargoc <gocdundar@gmail.com> | 2022-09-29 21:46:14 +0200 |
|---|---|---|
| committer | dundargoc <gocdundar@gmail.com> | 2022-10-02 12:39:48 +0200 |
| commit | 59d5f692f8f563bf6f7c232f971ad764316e4466 (patch) | |
| tree | b79fedf7b1e566a5267818f14a1aea4fe5f7d113 /cmake.deps/cmake/GetBinaryDeps.cmake | |
| parent | 913651d1f102eed11db9046fdec72e84958a7c6a (diff) | |
| download | rneovim-59d5f692f8f563bf6f7c232f971ad764316e4466.tar.gz rneovim-59d5f692f8f563bf6f7c232f971ad764316e4466.tar.bz2 rneovim-59d5f692f8f563bf6f7c232f971ad764316e4466.zip | |
build: rely on builtin cmake downloading rather than custom script
DownloadAndExtractFile.cmake was initially introduced as a workaround to
avoid the massive amounts of logs generated by the download progress.
This is not a problem anymore as ExternalProject_Add has had the
DOWNLOAD_NO_PROGRESS option since cmake version 3.1.
Diffstat (limited to 'cmake.deps/cmake/GetBinaryDeps.cmake')
| -rw-r--r-- | cmake.deps/cmake/GetBinaryDeps.cmake | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cmake.deps/cmake/GetBinaryDeps.cmake b/cmake.deps/cmake/GetBinaryDeps.cmake index 04e3f95a29..f179e36bcf 100644 --- a/cmake.deps/cmake/GetBinaryDeps.cmake +++ b/cmake.deps/cmake/GetBinaryDeps.cmake @@ -25,15 +25,9 @@ function(GetBinaryDep) ExternalProject_Add(${_gettool_TARGET} PREFIX ${DEPS_BUILD_DIR} URL ${URL} + URL_HASH SHA256=${HASH} + DOWNLOAD_NO_PROGRESS TRUE DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR} - DOWNLOAD_COMMAND ${CMAKE_COMMAND} - -DPREFIX=${DEPS_BUILD_DIR} - -DDOWNLOAD_DIR=${DEPS_DOWNLOAD_DIR} - -DURL=${URL} - -DEXPECTED_SHA256=${HASH} - -DTARGET=${_gettool_TARGET} - -DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR} - -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake CONFIGURE_COMMAND "" BUILD_IN_SOURCE 1 BUILD_COMMAND "" |