mirror of
https://github.com/overte-org/overte.git
synced 2025-07-15 21:16:39 +02:00
force git abbreviated SHA to have length of 7
This commit is contained in:
parent
8dd268addb
commit
7a9d77d0d9
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ macro(SET_PACKAGING_PARAMETERS)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND git log -1 --format=${_GIT_LOG_FORMAT}
|
COMMAND git log -1 --abbrev=7 --format=${_GIT_LOG_FORMAT}
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
OUTPUT_VARIABLE _GIT_LOG_OUTPUT
|
OUTPUT_VARIABLE _GIT_LOG_OUTPUT
|
||||||
ERROR_VARIABLE _GIT_LOG_ERROR
|
ERROR_VARIABLE _GIT_LOG_ERROR
|
||||||
|
|
Loading…
Reference in a new issue