aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildLibuv.cmake
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2015-09-08 12:09:44 +0200
committerFlorian Walch <florian@fwalch.com>2015-09-09 17:23:22 +0200
commitb480eb069bb2c4147935159ee5710a5ed78485dd (patch)
tree0a02c158c9d83584ec5b85d1d60e8f73410ba3cb /third-party/cmake/BuildLibuv.cmake
parent41446715b4cfe76083545090f00de429efc06833 (diff)
downloadrneovim-b480eb069bb2c4147935159ee5710a5ed78485dd.tar.gz
rneovim-b480eb069bb2c4147935159ee5710a5ed78485dd.tar.bz2
rneovim-b480eb069bb2c4147935159ee5710a5ed78485dd.zip
CMake: Don't use existing third-party sources by default.
Introduce ALLOW_EXISTING_SRC_DIR option, turned off by default. The Homebrew formula, which downloads and extracts the third-party dependency sources before starting the build, would turn this option ON.
Diffstat (limited to 'third-party/cmake/BuildLibuv.cmake')
-rw-r--r--third-party/cmake/BuildLibuv.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/third-party/cmake/BuildLibuv.cmake b/third-party/cmake/BuildLibuv.cmake
index 982c8f8067..2919d289cc 100644
--- a/third-party/cmake/BuildLibuv.cmake
+++ b/third-party/cmake/BuildLibuv.cmake
@@ -28,6 +28,7 @@ function(BuildLibuv)
-DURL=${LIBUV_URL}
-DEXPECTED_SHA256=${LIBUV_SHA256}
-DTARGET=${_libuv_TARGET}
+ -DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR}
-P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake
CONFIGURE_COMMAND "${_libuv_CONFIGURE_COMMAND}"
BUILD_COMMAND "${_libuv_BUILD_COMMAND}"