aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-07-25 21:41:03 -0400
committerGitHub <noreply@github.com>2022-07-25 21:41:03 -0400
commit88c6e02c12d1bc5427d2c384e43ff758e7d0c450 (patch)
treeeb9f1795bcee6b39d41e35081ce8378fd4ea035a
parentfe159d23fdcc0e93d454bdfdb80e05e2941d7f07 (diff)
parentba662efb177aa3e6b21bd4dbb6511c895eab9af0 (diff)
downloadrneovim-88c6e02c12d1bc5427d2c384e43ff758e7d0c450.tar.gz
rneovim-88c6e02c12d1bc5427d2c384e43ff758e7d0c450.tar.bz2
rneovim-88c6e02c12d1bc5427d2c384e43ff758e7d0c450.zip
Merge pull request #19508 from ii14/fix_older_cmake_makefiles
build: fix git version generation on makefiles with older cmake versions
-rwxr-xr-xsrc/nvim/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt
index 4b8774e598..94b88da891 100755
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -268,7 +268,7 @@ foreach(sfile ${NVIM_SOURCES}
set(depends "${HEADER_GENERATOR}" "${sfile}")
if("${f}" STREQUAL "version.c")
# Ensure auto/versiondef_git.h exists after "make clean".
- list(APPEND depends "${NVIM_VERSION_GIT_H}")
+ list(APPEND depends update_version_stamp "${NVIM_VERSION_GIT_H}")
endif()
add_custom_command(
OUTPUT "${gf_c_h}" "${gf_h_h}"