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/BuildMsgpack.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/BuildMsgpack.cmake')
-rw-r--r-- | cmake.deps/cmake/BuildMsgpack.cmake | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cmake.deps/cmake/BuildMsgpack.cmake b/cmake.deps/cmake/BuildMsgpack.cmake index 694ca1f108..d2a0dfd132 100644 --- a/cmake.deps/cmake/BuildMsgpack.cmake +++ b/cmake.deps/cmake/BuildMsgpack.cmake @@ -24,15 +24,9 @@ endif() ExternalProject_Add(msgpack PREFIX ${DEPS_BUILD_DIR} URL ${MSGPACK_URL} + URL_HASH SHA256=${MSGPACK_SHA256} + DOWNLOAD_NO_PROGRESS TRUE DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/msgpack - DOWNLOAD_COMMAND ${CMAKE_COMMAND} - -DPREFIX=${DEPS_BUILD_DIR} - -DDOWNLOAD_DIR=${DEPS_DOWNLOAD_DIR}/msgpack - -DURL=${MSGPACK_URL} - -DEXPECTED_SHA256=${MSGPACK_SHA256} - -DTARGET=msgpack - -DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR} - -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake CONFIGURE_COMMAND "${MSGPACK_CONFIGURE_COMMAND}" BUILD_COMMAND ${CMAKE_COMMAND} --build . --config $<CONFIG> INSTALL_COMMAND ${CMAKE_COMMAND} --build . --target install --config $<CONFIG> |