diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-03-05 15:21:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 15:21:46 +0100 |
commit | f4d83ac1e22e55a12895e5945680d90ee7c09b85 (patch) | |
tree | 7090570a1c4b7fa8a6a12d527c50e0630baa39d9 /cmake.deps/cmake/BuildLua.cmake | |
parent | 07758587037de1c8a4c45f1b39722ae73522c6bd (diff) | |
download | rneovim-f4d83ac1e22e55a12895e5945680d90ee7c09b85.tar.gz rneovim-f4d83ac1e22e55a12895e5945680d90ee7c09b85.tar.bz2 rneovim-f4d83ac1e22e55a12895e5945680d90ee7c09b85.zip |
build: consistently use the provided option paths
We provide options such as "DEPS_BIN_DIR" for the user to set, but only
sometimes use them. This makes binaries and other files to be spread out
if the user defines a custom DEPS_BIN_DIR location.
Diffstat (limited to 'cmake.deps/cmake/BuildLua.cmake')
-rw-r--r-- | cmake.deps/cmake/BuildLua.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake.deps/cmake/BuildLua.cmake b/cmake.deps/cmake/BuildLua.cmake index 9cc2202e84..2817418eb2 100644 --- a/cmake.deps/cmake/BuildLua.cmake +++ b/cmake.deps/cmake/BuildLua.cmake @@ -52,11 +52,11 @@ ExternalProject_Add(lua BUILD_COMMAND ${MAKE_PRG} ${LUA_INSTALL_TOP_ARG} ${LUA_TARGET} INSTALL_COMMAND ${MAKE_PRG} ${LUA_INSTALL_TOP_ARG} install) -set(BUSTED ${DEPS_INSTALL_DIR}/bin/busted) +set(BUSTED ${DEPS_BIN_DIR}/busted) set(BUSTED_LUA ${BUSTED}-lua) add_custom_command(OUTPUT ${BUSTED_LUA} COMMAND sed -e 's/^exec/exec $$LUA_DEBUGGER/' -e 's/jit//g' < ${BUSTED} > ${BUSTED_LUA} && chmod +x ${BUSTED_LUA} DEPENDS lua busted ${BUSTED}) add_custom_target(busted-lua ALL - DEPENDS ${DEPS_INSTALL_DIR}/bin/busted-lua) + DEPENDS ${DEPS_BIN_DIR}/busted-lua) |