aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLibvterm.cmake
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2022-09-29 21:46:14 +0200
committerdundargoc <gocdundar@gmail.com>2022-10-02 12:39:48 +0200
commit59d5f692f8f563bf6f7c232f971ad764316e4466 (patch)
treeb79fedf7b1e566a5267818f14a1aea4fe5f7d113 /cmake.deps/cmake/BuildLibvterm.cmake
parent913651d1f102eed11db9046fdec72e84958a7c6a (diff)
downloadrneovim-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/BuildLibvterm.cmake')
-rw-r--r--cmake.deps/cmake/BuildLibvterm.cmake10
1 files changed, 2 insertions, 8 deletions
diff --git a/cmake.deps/cmake/BuildLibvterm.cmake b/cmake.deps/cmake/BuildLibvterm.cmake
index d81e70518a..d2c04d5b28 100644
--- a/cmake.deps/cmake/BuildLibvterm.cmake
+++ b/cmake.deps/cmake/BuildLibvterm.cmake
@@ -27,15 +27,9 @@ endif()
ExternalProject_Add(libvterm
PREFIX ${DEPS_BUILD_DIR}
URL ${LIBVTERM_URL}
+ URL_HASH SHA256=${LIBVTERM_SHA256}
+ DOWNLOAD_NO_PROGRESS TRUE
DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/libvterm
- DOWNLOAD_COMMAND ${CMAKE_COMMAND}
- -DPREFIX=${DEPS_BUILD_DIR}
- -DDOWNLOAD_DIR=${DEPS_DOWNLOAD_DIR}/libvterm
- -DURL=${LIBVTERM_URL}
- -DEXPECTED_SHA256=${LIBVTERM_SHA256}
- -DTARGET=libvterm
- -DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR}
- -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND "${LIBVTERM_CONFIGURE_COMMAND}"
BUILD_COMMAND "${LIBVTERM_BUILD_COMMAND}"