mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
Add lpeg as explicit third-party dependency
It was being installed because of moonscript, but now it's listed as a dependency explicitly.
This commit is contained in:
parent
15f3bae801
commit
4fb45579b5
11
third-party/CMakeLists.txt
vendored
11
third-party/CMakeLists.txt
vendored
@ -172,7 +172,16 @@ if(USE_BUNDLED_LUAROCKS)
|
||||
add_custom_target(lua-cmsgpack
|
||||
DEPENDS ${DEPS_LIB_DIR}/luarocks/rocks/lua-cmsgpack)
|
||||
|
||||
list(APPEND THIRD_PARTY_DEPS moonscript busted lua-cmsgpack)
|
||||
# lpeg is a moonscript dependency, but since it is also required for
|
||||
# normal compilation(even without unit testing) we better add it explicitly.
|
||||
# Like before, depend on cmsgpack to ensure serialization of install commands
|
||||
add_custom_command(OUTPUT ${DEPS_LIB_DIR}/luarocks/rocks/lpeg
|
||||
COMMAND ${DEPS_BIN_DIR}/luarocks ARGS install lpeg
|
||||
DEPENDS lua-cmsgpack)
|
||||
add_custom_target(lpeg
|
||||
DEPENDS ${DEPS_LIB_DIR}/luarocks/rocks/lpeg)
|
||||
|
||||
list(APPEND THIRD_PARTY_DEPS moonscript busted lua-cmsgpack lpeg)
|
||||
endif()
|
||||
|
||||
add_custom_target(third-party ALL
|
||||
|
Loading…
Reference in New Issue
Block a user