diff options
author | Matthieu Coudron <matthieu.coudron@upmc.fr> | 2017-02-04 01:03:04 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-02-04 01:03:04 +0100 |
commit | 54293b73d4bef32eca7f5d6b3a3f177379940a49 (patch) | |
tree | 34206c93c412b5224be182e529506c1b4d3c9e11 | |
parent | 11f2bd5fa343751266f8d9d7cf328c5a1b37b9dd (diff) | |
download | rneovim-54293b73d4bef32eca7f5d6b3a3f177379940a49.tar.gz rneovim-54293b73d4bef32eca7f5d6b3a3f177379940a49.tar.bz2 rneovim-54293b73d4bef32eca7f5d6b3a3f177379940a49.zip |
build: LuaRocks: require unzip (#6049)
-rw-r--r-- | third-party/cmake/BuildLuarocks.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third-party/cmake/BuildLuarocks.cmake b/third-party/cmake/BuildLuarocks.cmake index 9ea96b7cc5..268df7c62f 100644 --- a/third-party/cmake/BuildLuarocks.cmake +++ b/third-party/cmake/BuildLuarocks.cmake @@ -123,6 +123,11 @@ add_custom_target(inspect list(APPEND THIRD_PARTY_DEPS inspect) if(USE_BUNDLED_BUSTED) + + find_program(UNZIP_PRG unzip) + if(NOT UNZIP_PRG) + message(FATAL_ERROR "'unzip' must be installed to allow for penlight installation") + endif() add_custom_command(OUTPUT ${HOSTDEPS_LIB_DIR}/luarocks/rocks/penlight/1.3.2-2 COMMAND ${LUAROCKS_BINARY} ARGS build penlight 1.3.2-2 ${LUAROCKS_BUILDARGS} |