diff options
author | Florian Walch <florian@fwalch.com> | 2015-07-22 13:12:22 +0300 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2015-07-22 18:27:07 +0300 |
commit | 544ec08102b7a763a2a26bfea1310b545f498850 (patch) | |
tree | 7a328c1ad684facd950b1f7b8493e93c0011b886 | |
parent | 5ad619a8473544ccff225d89211d5e5edee66dc9 (diff) | |
download | rneovim-544ec08102b7a763a2a26bfea1310b545f498850.tar.gz rneovim-544ec08102b7a763a2a26bfea1310b545f498850.tar.bz2 rneovim-544ec08102b7a763a2a26bfea1310b545f498850.zip |
CMake: Allow configuring all DEPS_* variables in third-party. #3080
Previously, only DEPS_INSTALL_DIR could be configured.
-rw-r--r-- | third-party/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt index 50f610008d..ff4a11b417 100644 --- a/third-party/CMakeLists.txt +++ b/third-party/CMakeLists.txt @@ -6,10 +6,10 @@ project(NEOVIM_DEPS) list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") set(DEPS_INSTALL_DIR "${CMAKE_BINARY_DIR}/usr" CACHE PATH "Dependencies install directory.") -set(DEPS_BIN_DIR "${DEPS_INSTALL_DIR}/bin") -set(DEPS_LIB_DIR "${DEPS_INSTALL_DIR}/lib") -set(DEPS_BUILD_DIR "${CMAKE_BINARY_DIR}/build") -set(DEPS_DOWNLOAD_DIR "${DEPS_BUILD_DIR}/downloads") +set(DEPS_BIN_DIR "${DEPS_INSTALL_DIR}/bin" CACHE PATH "Dependencies binary install directory.") +set(DEPS_LIB_DIR "${DEPS_INSTALL_DIR}/lib" CACHE PATH "Dependencies library install directory.") +set(DEPS_BUILD_DIR "${CMAKE_BINARY_DIR}/build" CACHE PATH "Dependencies build directory.") +set(DEPS_DOWNLOAD_DIR "${DEPS_BUILD_DIR}/downloads" CACHE PATH "Dependencies download directory.") option(USE_BUNDLED "Use bundled dependencies." ON) |