mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
deps: Add lua nvim-client as a dependency
This commit is contained in:
9
third-party/CMakeLists.txt
vendored
9
third-party/CMakeLists.txt
vendored
@@ -189,7 +189,14 @@ if(USE_BUNDLED_LUAROCKS)
|
|||||||
add_custom_target(lpeg
|
add_custom_target(lpeg
|
||||||
DEPENDS ${DEPS_LIB_DIR}/luarocks/rocks/lpeg)
|
DEPENDS ${DEPS_LIB_DIR}/luarocks/rocks/lpeg)
|
||||||
|
|
||||||
list(APPEND THIRD_PARTY_DEPS busted lua-messagepack lpeg)
|
add_custom_command(OUTPUT ${DEPS_LIB_DIR}/luarocks/rocks/nvim-client
|
||||||
|
COMMAND ${DEPS_BIN_DIR}/luarocks
|
||||||
|
ARGS build https://raw.githubusercontent.com/neovim/lua-client/master/nvim-client-0.0.1-1.rockspec CC=${DEPS_C_COMPILER} LD=${DEPS_C_COMPILER} LIBUV_DIR=${DEPS_INSTALL_DIR}
|
||||||
|
DEPENDS lpeg libuv)
|
||||||
|
add_custom_target(nvim-client
|
||||||
|
DEPENDS ${DEPS_LIB_DIR}/luarocks/rocks/nvim-client)
|
||||||
|
|
||||||
|
list(APPEND THIRD_PARTY_DEPS busted lua-messagepack lpeg nvim-client)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_custom_target(third-party ALL
|
add_custom_target(third-party ALL
|
||||||
|
Reference in New Issue
Block a user