aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-10-08 10:47:59 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-16 09:21:32 -0300
commit201e1512a1bbe9e23dbb86672b12e17261786447 (patch)
tree695fdaf580febeb093227944fb582849601d1d04
parent0a2d9fa8c88b6e263b9baa9b639c23321272f9bf (diff)
downloadrneovim-201e1512a1bbe9e23dbb86672b12e17261786447.tar.gz
rneovim-201e1512a1bbe9e23dbb86672b12e17261786447.tar.bz2
rneovim-201e1512a1bbe9e23dbb86672b12e17261786447.zip
deps: Add lua nvim-client as a dependency
-rw-r--r--third-party/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt
index 793be3172d..0e277c8eef 100644
--- a/third-party/CMakeLists.txt
+++ b/third-party/CMakeLists.txt
@@ -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