diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-19 14:58:22 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-12-19 14:58:22 +0300 |
commit | 76d04f95141cd1e5f5db7523dbfa8349a01a1a62 (patch) | |
tree | 8f7fbb4f04280f5cf140404e1ab087941c1be37b /build_files/cmake/packaging.cmake | |
parent | 2af0ec9457b2997e1e903f284dd48bae6534682b (diff) | |
parent | 593ed1347c96aea691eb503a6bbed12c801f3faa (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'build_files/cmake/packaging.cmake')
-rw-r--r-- | build_files/cmake/packaging.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/packaging.cmake b/build_files/cmake/packaging.cmake index 2408e4eaff9..fb69a7c726a 100644 --- a/build_files/cmake/packaging.cmake +++ b/build_files/cmake/packaging.cmake @@ -26,7 +26,7 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.git/) find_package(Git) if(GIT_FOUND) # message(STATUS "Found Git: ${GIT_EXECUTABLE}") - execute_process(COMMAND git rev-parse --short HEAD + execute_process(COMMAND git rev-parse --short=12 HEAD WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE MY_WC_HASH OUTPUT_STRIP_TRAILING_WHITESPACE |