mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: update the file
This commit is contained in:
parent
9718655831
commit
200bed4f97
@ -3,10 +3,10 @@ set(lua_version "5.4.8")
|
||||
get_filename_component(COMPILER_DIR ${CMAKE_CXX_COMPILER} DIRECTORY)
|
||||
message(STATUS "[lua] Compiler dir: ${COMPILER_DIR}")
|
||||
|
||||
# Download lua: https://codeload.github.com/lua/lua/zip/refs/tags/v5.4.8
|
||||
# Download lua: https://github.com/lua/lua/archive/refs/tags/v5.4.8.zip
|
||||
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/3rd/lua-${lua_version}.zip)
|
||||
message(STATUS "[lua] Downloading lua")
|
||||
set(lua_url "https://codeload.github.com/lua/lua/zip/refs/tags/v${lua_version}")
|
||||
set(lua_url "https://github.com/lua/lua/archive/refs/tags/v${lua_version}.zip")
|
||||
file(
|
||||
DOWNLOAD ${lua_url} ${CMAKE_CURRENT_SOURCE_DIR}/3rd/lua-${lua_version}.zip
|
||||
SHOW_PROGRESS
|
||||
|
||||
Loading…
Reference in New Issue
Block a user