aboutsummaryrefslogtreecommitdiff
path: root/third-party/cmake/BuildLibtermkey.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/BuildLibtermkey.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/BuildLibtermkey.cmake')
-rw-r--r--third-party/cmake/BuildLibtermkey.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/third-party/cmake/BuildLibtermkey.cmake b/third-party/cmake/BuildLibtermkey.cmake
index 874b7df104..57e14d36d3 100644
--- a/third-party/cmake/BuildLibtermkey.cmake
+++ b/third-party/cmake/BuildLibtermkey.cmake
@@ -14,6 +14,7 @@ ExternalProject_Add(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 ""
BUILD_IN_SOURCE 1