[CMAKE] Call "git describe" with the --long parameter to always output the format we are used to.

This commit is contained in:
Colin Finck 2018-02-17 18:09:07 +01:00
parent b77840d3a2
commit ef8b17ed0d

View file

@ -39,7 +39,7 @@ if(EXISTS "${REACTOS_SOURCE_DIR}/.git")
endif()
execute_process(
COMMAND "${GIT_EXECUTABLE}" describe --abbrev=7
COMMAND "${GIT_EXECUTABLE}" describe --abbrev=7 --long
WORKING_DIRECTORY ${REACTOS_SOURCE_DIR}
OUTPUT_VARIABLE GIT_DESCRIBE_REVISION
RESULT_VARIABLE GIT_CALL_RESULT