mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[CMAKE] Add "--always" parameter to "git describe" call
"fatal: No names found, cannot describe anything." message, when called without enough history, i.e. appveyor.yml "clone_depth: 5".
This commit is contained in:
committed by
Mark Jansen
parent
76a73b4295
commit
9822462946
@@ -39,7 +39,7 @@ if(EXISTS "${REACTOS_SOURCE_DIR}/.git")
|
||||
endif()
|
||||
|
||||
execute_process(
|
||||
COMMAND "${GIT_EXECUTABLE}" describe --abbrev=7 --long
|
||||
COMMAND "${GIT_EXECUTABLE}" describe --abbrev=7 --long --always
|
||||
WORKING_DIRECTORY ${REACTOS_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE GIT_DESCRIBE_REVISION
|
||||
RESULT_VARIABLE GIT_CALL_RESULT
|
||||
|
||||
Reference in New Issue
Block a user