aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLuajit.cmake
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-03-18 12:23:53 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-03-23 13:36:12 +0100
commit2c1e8f7e96926f70151d737ea32f1e6ff3589263 (patch)
treeb15ec6229fcbb724f18a7a7d5db3d10676fd42b7 /cmake.deps/cmake/BuildLuajit.cmake
parent881f5e59173a4f1b9a4cb16e425709e40d79d0e9 (diff)
downloadrneovim-2c1e8f7e96926f70151d737ea32f1e6ff3589263.tar.gz
rneovim-2c1e8f7e96926f70151d737ea32f1e6ff3589263.tar.bz2
rneovim-2c1e8f7e96926f70151d737ea32f1e6ff3589263.zip
build: use `GIT_REPOSITORY` for local URLs
`GIT_REPOSITORY` will cause cmake to rebuild if local dependency changes, which isn't the case for `URL`. Also document how to test a different commits of a dependency.
Diffstat (limited to 'cmake.deps/cmake/BuildLuajit.cmake')
-rw-r--r--cmake.deps/cmake/BuildLuajit.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake.deps/cmake/BuildLuajit.cmake b/cmake.deps/cmake/BuildLuajit.cmake
index de9add43ca..c5068d6986 100644
--- a/cmake.deps/cmake/BuildLuajit.cmake
+++ b/cmake.deps/cmake/BuildLuajit.cmake
@@ -11,10 +11,8 @@ function(BuildLuajit)
set(_luajit_TARGET "luajit")
endif()
- get_sha(luajit ${DEPS_IGNORE_SHA})
+ get_externalproject_options(luajit ${DEPS_IGNORE_SHA})
ExternalProject_Add(${_luajit_TARGET}
- URL ${LUAJIT_URL}
- ${EXTERNALPROJECT_URL_HASH}
DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/${_luajit_TARGET}
CONFIGURE_COMMAND "${_luajit_CONFIGURE_COMMAND}"
BUILD_IN_SOURCE 1