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/BuildLibtermkey.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/BuildLibtermkey.cmake')
-rw-r--r-- | cmake.deps/cmake/BuildLibtermkey.cmake | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cmake.deps/cmake/BuildLibtermkey.cmake b/cmake.deps/cmake/BuildLibtermkey.cmake index f70cb191bd..3a571ccdc4 100644 --- a/cmake.deps/cmake/BuildLibtermkey.cmake +++ b/cmake.deps/cmake/BuildLibtermkey.cmake @@ -25,15 +25,9 @@ endif() ExternalProject_Add(libtermkey PREFIX ${DEPS_BUILD_DIR} URL ${LIBTERMKEY_URL} + URL_HASH SHA256=${LIBTERMKEY_SHA256} + DOWNLOAD_NO_PROGRESS TRUE DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/libtermkey - DOWNLOAD_COMMAND ${CMAKE_COMMAND} - -DPREFIX=${DEPS_BUILD_DIR} - -DDOWNLOAD_DIR=${DEPS_DOWNLOAD_DIR}/libtermkey - -DURL=${LIBTERMKEY_URL} - -DEXPECTED_SHA256=${LIBTERMKEY_SHA256} - -DTARGET=libtermkey - -DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR} - -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake CONFIGURE_COMMAND "${LIBTERMKEY_CONFIGURE_COMMAND}" BUILD_COMMAND "${LIBTERMKEY_BUILD_COMMAND}" INSTALL_COMMAND "${LIBTERMKEY_INSTALL_COMMAND}") |