Skip to content

Commit bc895db

Browse files
committed
deps src: Automatic update
1 parent d115017 commit bc895db

33 files changed

+63
-57
lines changed

src/libuv-stamp/download-libuv.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/libuv-stamp/extract-libuv.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/lpeg-stamp/download-lpeg.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/lpeg-stamp/extract-lpeg.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/lua_compat53-stamp/download-lua_compat53.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/lua_compat53-stamp/extract-lua_compat53.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/luajit-stamp/download-luajit.cmake

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")
@@ -22,16 +22,16 @@ function(check_file_hash has_hash hash_is_good)
2222
set("${has_hash}" TRUE PARENT_SCOPE)
2323

2424
message(VERBOSE "verifying file...
25-
file='/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz'")
25+
file='/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz'")
2626

27-
file("SHA256" "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz" actual_value)
27+
file("SHA256" "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz" actual_value)
2828

29-
if(NOT "${actual_value}" STREQUAL "1375ebdbe04df03bf5f21a576885a7a7e7caf3a0191d68eef513ec1fb2921512")
29+
if(NOT "${actual_value}" STREQUAL "92325f209b21aaf0a67b099bc73cf9bbac5789a9749bdc3898d4a990abb4f36e")
3030
set("${hash_is_good}" FALSE PARENT_SCOPE)
3131
message(VERBOSE "SHA256 hash of
32-
/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz
32+
/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz
3333
does not match expected value
34-
expected: '1375ebdbe04df03bf5f21a576885a7a7e7caf3a0191d68eef513ec1fb2921512'
34+
expected: '92325f209b21aaf0a67b099bc73cf9bbac5789a9749bdc3898d4a990abb4f36e'
3535
actual: '${actual_value}'")
3636
else()
3737
set("${hash_is_good}" TRUE PARENT_SCOPE)
@@ -71,32 +71,32 @@ function(sleep_before_download attempt)
7171
execute_process(COMMAND "${CMAKE_COMMAND}" -E sleep "${sleep_seconds}")
7272
endfunction()
7373

74-
if(EXISTS "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz")
74+
if(EXISTS "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz")
7575
check_file_hash(has_hash hash_is_good)
7676
if(has_hash)
7777
if(hash_is_good)
7878
message(VERBOSE "File already exists and hash match (skip download):
79-
file='/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz'
80-
SHA256='1375ebdbe04df03bf5f21a576885a7a7e7caf3a0191d68eef513ec1fb2921512'"
79+
file='/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz'
80+
SHA256='92325f209b21aaf0a67b099bc73cf9bbac5789a9749bdc3898d4a990abb4f36e'"
8181
)
8282
return()
8383
else()
8484
message(VERBOSE "File already exists but hash mismatch. Removing...")
85-
file(REMOVE "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz")
85+
file(REMOVE "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz")
8686
endif()
8787
else()
8888
message(VERBOSE "File already exists but no hash specified (use URL_HASH):
89-
file='/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz'
89+
file='/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz'
9090
Old file will be removed and new file downloaded from URL."
9191
)
92-
file(REMOVE "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz")
92+
file(REMOVE "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz")
9393
endif()
9494
endif()
9595

9696
set(retry_number 5)
9797

9898
message(VERBOSE "Downloading...
99-
dst='/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz'
99+
dst='/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz'
100100
timeout='none'
101101
inactivity timeout='none'"
102102
)
@@ -107,7 +107,7 @@ foreach(i RANGE ${retry_number})
107107
if(status_code IN_LIST download_retry_codes)
108108
sleep_before_download(${i})
109109
endif()
110-
foreach(url IN ITEMS [====[https://github.com/LuaJIT/LuaJIT/archive/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz]====])
110+
foreach(url IN ITEMS [====[https://github.com/LuaJIT/LuaJIT/archive/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz]====])
111111
if(NOT url IN_LIST skip_url_list)
112112
message(VERBOSE "Using src='${url}'")
113113

@@ -119,7 +119,7 @@ foreach(i RANGE ${retry_number})
119119

120120
file(
121121
DOWNLOAD
122-
"${url}" "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz"
122+
"${url}" "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz"
123123

124124
# no TIMEOUT
125125
# no INACTIVITY_TIMEOUT
@@ -136,7 +136,7 @@ foreach(i RANGE ${retry_number})
136136
check_file_hash(has_hash hash_is_good)
137137
if(has_hash AND NOT hash_is_good)
138138
message(VERBOSE "Hash mismatch, removing...")
139-
file(REMOVE "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz")
139+
file(REMOVE "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz")
140140
else()
141141
message(VERBOSE "Downloading... done")
142142
return()

src/luajit-stamp/extract-luajit.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#
8-
get_filename_component(filename "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz" ABSOLUTE)
8+
get_filename_component(filename "/home/runner/work/deps/deps/neovim/deps/build/downloads/luajit/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz" ABSOLUTE)
99
get_filename_component(directory "/home/runner/work/deps/deps/neovim/deps/build/src/luajit" ABSOLUTE)
1010

1111
message(VERBOSE "extracting...

src/luajit-stamp/luajit-urlinfo.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ method=url
66
command=/usr/local/bin/cmake;-DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE;-P;/home/runner/work/deps/deps/neovim/deps/build/src/luajit-stamp/download-luajit.cmake;COMMAND;/usr/local/bin/cmake;-DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE;-P;/home/runner/work/deps/deps/neovim/deps/build/src/luajit-stamp/verify-luajit.cmake;COMMAND;/usr/local/bin/cmake;-DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE;-P;/home/runner/work/deps/deps/neovim/deps/build/src/luajit-stamp/extract-luajit.cmake
77
source_dir=/home/runner/work/deps/deps/neovim/deps/build/src/luajit
88
work_dir=/home/runner/work/deps/deps/neovim/deps/build/src
9-
url(s)=https://github.com/LuaJIT/LuaJIT/archive/69bbf3c1b01de8239444b0c430a89fa868978fea.tar.gz
10-
hash=SHA256=1375ebdbe04df03bf5f21a576885a7a7e7caf3a0191d68eef513ec1fb2921512
9+
url(s)=https://github.com/LuaJIT/LuaJIT/archive/fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059.tar.gz
10+
hash=SHA256=92325f209b21aaf0a67b099bc73cf9bbac5789a9749bdc3898d4a990abb4f36e
1111
no_extract=
1212

src/luajit/.relver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1731485912
1+
1731601260

src/luajit/Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ export MULTILIB= lib
3737
DPREFIX= $(DESTDIR)$(PREFIX)
3838
INSTALL_BIN= $(DPREFIX)/bin
3939
INSTALL_LIB= $(DPREFIX)/$(MULTILIB)
40-
INSTALL_SHARE= $(DPREFIX)/share
40+
INSTALL_SHARE_= $(PREFIX)/share
41+
INSTALL_SHARE= $(DESTDIR)$(INSTALL_SHARE_)
4142
INSTALL_DEFINC= $(DPREFIX)/include/luajit-$(MMVERSION)
4243
INSTALL_INC= $(INSTALL_DEFINC)
4344

44-
export INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit-$(MMVERSION)
45-
INSTALL_JITLIB= $(INSTALL_LJLIBD)/jit
45+
export INSTALL_LJLIBD= $(INSTALL_SHARE_)/luajit-$(MMVERSION)
46+
INSTALL_JITLIB= $(DESTDIR)$(INSTALL_LJLIBD)/jit
4647
INSTALL_LMODD= $(INSTALL_SHARE)/lua
4748
INSTALL_LMOD= $(INSTALL_LMODD)/$(ABIVER)
4849
INSTALL_CMODD= $(INSTALL_LIB)/lua
@@ -71,7 +72,7 @@ INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)
7172

7273
INSTALL_DIRS= $(INSTALL_BIN) $(INSTALL_LIB) $(INSTALL_INC) $(INSTALL_MAN) \
7374
$(INSTALL_PKGCONFIG) $(INSTALL_JITLIB) $(INSTALL_LMOD) $(INSTALL_CMOD)
74-
UNINSTALL_DIRS= $(INSTALL_JITLIB) $(INSTALL_LJLIBD) $(INSTALL_INC) \
75+
UNINSTALL_DIRS= $(INSTALL_JITLIB) $(DESTDIR)$(INSTALL_LJLIBD) $(INSTALL_INC) \
7576
$(INSTALL_LMOD) $(INSTALL_LMODD) $(INSTALL_CMOD) $(INSTALL_CMODD)
7677

7778
RM= rm -f

src/luajit/src/jit/p.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,7 @@ local function prof_finish()
227227
local samples = prof_samples
228228
if samples == 0 then
229229
if prof_raw ~= true then out:write("[No samples collected]\n") end
230-
return
231-
end
232-
if prof_ann then
230+
elseif prof_ann then
233231
prof_annotate(prof_count1, samples)
234232
else
235233
prof_top(prof_count1, prof_count2, samples, "")

src/luajit/src/msvcbuild.bat

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c
106106
@if "%1"=="static" goto :STATIC
107107
%LJCOMPILE% %LJDYNBUILD% lj_*.c lib_*.c
108108
@if errorlevel 1 goto :BAD
109-
%LJLINK% /DLL /out:%LJDLLNAME% lj_*.obj lib_*.obj
109+
%LJLINK% /DLL /OUT:%LJDLLNAME% lj_*.obj lib_*.obj
110110
@if errorlevel 1 goto :BAD
111111
@goto :MTDLL
112112
:STATIC
@@ -116,17 +116,24 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c
116116
@if errorlevel 1 goto :BAD
117117
@goto :MTDLL
118118
:AMALGDLL
119+
@if "%2"=="static" goto :AMALGSTATIC
119120
%LJCOMPILE% %LJDYNBUILD% ljamalg.c
120121
@if errorlevel 1 goto :BAD
121-
%LJLINK% /DLL /out:%LJDLLNAME% ljamalg.obj lj_vm.obj
122+
%LJLINK% /DLL /OUT:%LJDLLNAME% ljamalg.obj lj_vm.obj
123+
@if errorlevel 1 goto :BAD
124+
@goto :MTDLL
125+
:AMALGSTATIC
126+
%LJCOMPILE% ljamalg.c
127+
@if errorlevel 1 goto :BAD
128+
%LJLINK% /OUT:%LJDLLNAME% ljamalg.obj lj_vm.obj
122129
@if errorlevel 1 goto :BAD
123130
:MTDLL
124131
if exist %LJDLLNAME%.manifest^
125132
%LJMT% -manifest %LJDLLNAME%.manifest -outputresource:%LJDLLNAME%;2
126133

127134
%LJCOMPILE% luajit.c
128135
@if errorlevel 1 goto :BAD
129-
%LJLINK% /out:luajit.exe luajit.obj %LJLIBNAME%
136+
%LJLINK% /OUT:luajit.exe luajit.obj %LJLIBNAME%
130137
@if errorlevel 1 goto :BAD
131138
if exist luajit.exe.manifest^
132139
%LJMT% -manifest luajit.exe.manifest -outputresource:luajit.exe

src/luv-stamp/download-luv.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/luv-stamp/extract-luv.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/treesitter-stamp/download-treesitter.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/treesitter-stamp/extract-treesitter.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/treesitter_c-stamp/download-treesitter_c.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/treesitter_c-stamp/extract-treesitter_c.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/treesitter_lua-stamp/download-treesitter_lua.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/treesitter_lua-stamp/extract-treesitter_lua.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/treesitter_markdown-stamp/download-treesitter_markdown.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/treesitter_markdown-stamp/extract-treesitter_markdown.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/treesitter_query-stamp/download-treesitter_query.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/treesitter_query-stamp/extract-treesitter_query.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/treesitter_vim-stamp/download-treesitter_vim.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/treesitter_vim-stamp/extract-treesitter_vim.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

src/treesitter_vimdoc-stamp/download-treesitter_vimdoc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
function(check_file_hash has_hash hash_is_good)
77
if("${has_hash}" STREQUAL "")

src/treesitter_vimdoc-stamp/extract-treesitter_vimdoc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
22
# file Copyright.txt or https://cmake.org/licensing for details.
33

4-
cmake_minimum_required(VERSION 3.5)
4+
cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake
55

66
# Make file names absolute:
77
#

0 commit comments

Comments
 (0)