aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLuarocks.cmake
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-02-19 22:27:12 +0100
committerGitHub <noreply@github.com>2023-02-19 22:27:12 +0100
commit020d3e355e457fb18f9810cdbb2f8b26898b4fe3 (patch)
tree48092a2799476b627cfe9112cb45afaa1d7a32a3 /cmake.deps/cmake/BuildLuarocks.cmake
parent5ffd3d035dfd3d7f6e66edbaa895b98792ba3de3 (diff)
downloadrneovim-020d3e355e457fb18f9810cdbb2f8b26898b4fe3.tar.gz
rneovim-020d3e355e457fb18f9810cdbb2f8b26898b4fe3.tar.bz2
rneovim-020d3e355e457fb18f9810cdbb2f8b26898b4fe3.zip
build: remove unused dependency penlight (#22334)
Diffstat (limited to 'cmake.deps/cmake/BuildLuarocks.cmake')
-rw-r--r--cmake.deps/cmake/BuildLuarocks.cmake12
1 files changed, 3 insertions, 9 deletions
diff --git a/cmake.deps/cmake/BuildLuarocks.cmake b/cmake.deps/cmake/BuildLuarocks.cmake
index b8cc512a17..f87d5829b2 100644
--- a/cmake.deps/cmake/BuildLuarocks.cmake
+++ b/cmake.deps/cmake/BuildLuarocks.cmake
@@ -123,17 +123,11 @@ endif()
if(USE_BUNDLED_BUSTED)
if((NOT USE_BUNDLED_LUAJIT) AND USE_BUNDLED_LUA)
- set(PENLIGHT_DEPENDS luabitop)
+ set(BUSTED_DEPENDS luabitop)
else()
- set(PENLIGHT_DEPENDS lpeg)
+ set(BUSTED_DEPENDS lpeg)
endif()
- # penlight
- add_custom_command(OUTPUT ${ROCKS_DIR}/penlight
- COMMAND ${LUAROCKS_BINARY} build penlight 1.5.4-1 ${LUAROCKS_BUILDARGS}
- DEPENDS ${PENLIGHT_DEPENDS})
- add_custom_target(penlight ALL DEPENDS ${ROCKS_DIR}/penlight)
-
# busted
if(WIN32)
set(BUSTED_EXE "${DEPS_BIN_DIR}/busted.bat")
@@ -144,7 +138,7 @@ if(USE_BUNDLED_BUSTED)
endif()
add_custom_command(OUTPUT ${BUSTED_EXE}
COMMAND ${LUAROCKS_BINARY} build busted 2.1.1 ${LUAROCKS_BUILDARGS}
- DEPENDS penlight)
+ DEPENDS ${BUSTED_DEPENDS})
add_custom_target(busted ALL DEPENDS ${BUSTED_EXE})
# luacheck