aboutsummaryrefslogtreecommitdiff
path: root/cmake.deps/cmake/BuildLuajit.cmake
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-10-02 19:20:40 -0400
committerGitHub <noreply@github.com>2022-10-02 19:20:40 -0400
commit56998feebd6f7ec0ab68e44cba3425bf39d448b4 (patch)
treea292094f71be1f83aab74aaef20914c77ef2ebad /cmake.deps/cmake/BuildLuajit.cmake
parent67e57d21b351a4fe4b32ec76998e45fe00d57186 (diff)
parentfbc66d798ce834c4ba05360c3c07ce7af40d6fc9 (diff)
downloadrneovim-56998feebd6f7ec0ab68e44cba3425bf39d448b4.tar.gz
rneovim-56998feebd6f7ec0ab68e44cba3425bf39d448b4.tar.bz2
rneovim-56998feebd6f7ec0ab68e44cba3425bf39d448b4.zip
Merge #20154 build: cmake cleanup
Diffstat (limited to 'cmake.deps/cmake/BuildLuajit.cmake')
-rw-r--r--cmake.deps/cmake/BuildLuajit.cmake11
1 files changed, 2 insertions, 9 deletions
diff --git a/cmake.deps/cmake/BuildLuajit.cmake b/cmake.deps/cmake/BuildLuajit.cmake
index 9b393310d6..3a853316af 100644
--- a/cmake.deps/cmake/BuildLuajit.cmake
+++ b/cmake.deps/cmake/BuildLuajit.cmake
@@ -16,17 +16,10 @@ function(BuildLuajit)
endif()
ExternalProject_Add(${_luajit_TARGET}
- PREFIX ${DEPS_BUILD_DIR}
URL ${LUAJIT_URL}
+ URL_HASH SHA256=${LUAJIT_SHA256}
+ DOWNLOAD_NO_PROGRESS TRUE
DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/luajit
- DOWNLOAD_COMMAND ${CMAKE_COMMAND}
- -DPREFIX=${DEPS_BUILD_DIR}
- -DDOWNLOAD_DIR=${DEPS_DOWNLOAD_DIR}/luajit
- -DURL=${LUAJIT_URL}
- -DEXPECTED_SHA256=${LUAJIT_SHA256}
- -DTARGET=${_luajit_TARGET}
- -DUSE_EXISTING_SRC_DIR=${USE_EXISTING_SRC_DIR}
- -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/DownloadAndExtractFile.cmake
CONFIGURE_COMMAND "${_luajit_CONFIGURE_COMMAND}"
BUILD_IN_SOURCE 1
BUILD_COMMAND "${_luajit_BUILD_COMMAND}"