deps: Add lua nvim-client as a dependency

This commit is contained in:
Thiago de Arruda
2014-10-08 10:47:59 -03:00
parent 0a2d9fa8c8
commit 201e1512a1

View File

@@ -189,7 +189,14 @@ if(USE_BUNDLED_LUAROCKS)
add_custom_target(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()
add_custom_target(third-party ALL