diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2016-08-16 14:28:15 +0100 |
---|---|---|
committer | Rui Abreu Ferreira <rap-ep@gmx.com> | 2016-08-26 08:09:56 +0100 |
commit | 703cf3197f12feb8a0f8a1e072ea93774cac9914 (patch) | |
tree | c9945473c6505a569fec76d2af6b1c56082ea973 | |
parent | bed61041a03637227787d6ec1066a183d457aba8 (diff) | |
download | rneovim-703cf3197f12feb8a0f8a1e072ea93774cac9914.tar.gz rneovim-703cf3197f12feb8a0f8a1e072ea93774cac9914.tar.bz2 rneovim-703cf3197f12feb8a0f8a1e072ea93774cac9914.zip |
third-party: Windows fix for luv build recipe
The argument quotes in the luv build recipe did not work
in Windows.
-rw-r--r-- | third-party/cmake/BuildLuarocks.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third-party/cmake/BuildLuarocks.cmake b/third-party/cmake/BuildLuarocks.cmake index f76e2eb82f..fee8dba207 100644 --- a/third-party/cmake/BuildLuarocks.cmake +++ b/third-party/cmake/BuildLuarocks.cmake @@ -153,9 +153,9 @@ if(USE_BUNDLED_BUSTED) if(MINGW AND CMAKE_CROSSCOMPILING) set(LUV_DEPS ${LUV_DEPS} libuv_host) endif() - set(LUV_ARGS CFLAGS='-O0 -g3 -fPIC') + set(LUV_ARGS "CFLAGS=-O0 -g3 -fPIC") if(USE_BUNDLED_LIBUV) - set(LUV_ARGS LIBUV_DIR=${HOSTDEPS_INSTALL_DIR} CFLAGS='-O0 -g3 -fPIC') + list(APPEND LUV_ARGS LIBUV_DIR=${HOSTDEPS_INSTALL_DIR}) endif() add_custom_command(OUTPUT ${HOSTDEPS_LIB_DIR}/luarocks/rocks/luv COMMAND ${LUAROCKS_BINARY} |