mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
Make it easier to turn the bundled dependencies off.
This commit is contained in:
parent
cd457b72ec
commit
7e797067df
@ -59,7 +59,7 @@ set_environment() {
|
||||
eval $($prefix/bin/luarocks path)
|
||||
export PATH="$prefix/bin:$PATH"
|
||||
export PKG_CONFIG_PATH="$prefix/lib/pkgconfig"
|
||||
export DEPS_CMAKE_FLAGS="-DUSE_BUNDLED_LIBUV=OFF -DUSE_BUNDLED_LUAJIT=OFF -DUSE_BUNDLED_MSGPACK=OFF -DUSE_BUNDLED_LUAROCKS=OFF"
|
||||
export DEPS_CMAKE_FLAGS="-DUSE_BUNDLED=OFF"
|
||||
}
|
||||
|
||||
# install prebuilt dependencies
|
||||
|
10
third-party/CMakeLists.txt
vendored
10
third-party/CMakeLists.txt
vendored
@ -13,10 +13,12 @@ set(DEPS_LIB_DIR "${DEPS_DIR}/usr/lib")
|
||||
set(DEPS_BUILD_DIR "${DEPS_DIR}/build")
|
||||
set(DEPS_DOWNLOAD_DIR "${DEPS_BUILD_DIR}/downloads")
|
||||
|
||||
option(USE_BUNDLED_LIBUV "Use the bundled libuv." ON)
|
||||
option(USE_BUNDLED_MSGPACK "Use the bundled msgpack." ON)
|
||||
option(USE_BUNDLED_LUAJIT "Use the bundled version of luajit." ON)
|
||||
option(USE_BUNDLED_LUAROCKS "Use the bundled version of luarocks." ON)
|
||||
option(USE_BUNDLED "Use bundled dependencies." ON)
|
||||
|
||||
option(USE_BUNDLED_LIBUV "Use the bundled libuv." ${USE_BUNDLED})
|
||||
option(USE_BUNDLED_MSGPACK "Use the bundled msgpack." ${USE_BUNDLED})
|
||||
option(USE_BUNDLED_LUAJIT "Use the bundled version of luajit." ${USE_BUNDLED})
|
||||
option(USE_BUNDLED_LUAROCKS "Use the bundled version of luarocks." ${USE_BUNDLED})
|
||||
|
||||
# TODO: add windows support
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user