aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLibuv.cmake
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-10-02 19:20:40 -0400
committerGitHub <noreply@github.com>2022-10-02 19:20:40 -0400
commit56998feebd6f7ec0ab68e44cba3425bf39d448b4 (patch)
treea292094f71be1f83aab74aaef20914c77ef2ebad /cmake.deps/cmake/BuildLibuv.cmake
parent67e57d21b351a4fe4b32ec76998e45fe00d57186 (diff)
parentfbc66d798ce834c4ba05360c3c07ce7af40d6fc9 (diff)
downloadrneovim-56998feebd6f7ec0ab68e44cba3425bf39d448b4.tar.gz
rneovim-56998feebd6f7ec0ab68e44cba3425bf39d448b4.tar.bz2
rneovim-56998feebd6f7ec0ab68e44cba3425bf39d448b4.zip
Merge #20154 build: cmake cleanup
Diffstat (limited to 'cmake.deps/cmake/BuildLibuv.cmake')
-rw-r--r--cmake.deps/cmake/BuildLibuv.cmake13
1 files changed, 3 insertions, 10 deletions
diff --git a/cmake.deps/cmake/BuildLibuv.cmake b/cmake.deps/cmake/BuildLibuv.cmake
index dc2ca26c27..63cc22ee5b 100644
--- a/cmake.deps/cmake/BuildLibuv.cmake
+++ b/cmake.deps/cmake/BuildLibuv.cmake
@@ -1,6 +1,7 @@
ExternalProject_Add(libuv
- PREFIX ${DEPS_BUILD_DIR}
URL ${LIBUV_URL}
+ URL_HASH SHA256=${LIBUV_SHA256}
+ DOWNLOAD_NO_PROGRESS TRUE
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DCMAKE_INSTALL_LIBDIR=lib
@@ -9,14 +10,6 @@ ExternalProject_Add(libuv
-DLIBUV_BUILD_SHARED=OFF
CMAKE_CACHE_ARGS
-DCMAKE_OSX_ARCHITECTURES:STRING=${CMAKE_OSX_ARCHITECTURES}
- DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/libuv
- DOWNLOAD_COMMAND ${CMAKE_COMMAND}
- -DPREFIX=${DEPS_BUILD_DIR}
- -DDOWNLOAD_DIR=${DEPS_DOWNLOAD_DIR}/libuv
- -DURL=${LIBUV_URL}
- -DEXPECTED_SHA256=${LIBUV_SHA256}
- -DTARGET=libuv
- -DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR}
- -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake)
+ DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/libuv)
list(APPEND THIRD_PARTY_DEPS libuv)