build: silence git describe error output
This change will silence the warning from git describe command when the project is built using source tarball. The warning is fatal: not a git repository: 'neovim/.git'
This commit is contained in:
parent
5dcf544f8a
commit
ca3bc56a3b
|
@ -5,6 +5,7 @@ execute_process(
|
|||
COMMAND git --git-dir=${NVIM_SOURCE_DIR}/.git --work-tree=${NVIM_SOURCE_DIR} describe --first-parent --dirty --always
|
||||
OUTPUT_VARIABLE GIT_TAG
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
ERROR_QUIET
|
||||
RESULT_VARIABLE RES)
|
||||
|
||||
if(RES)
|
||||
|
|
Loading…
Reference in New Issue