removed -q argument from git rev-parse as it is not needed and allows for older versions of git to work with CMakeLists

This commit is contained in:
Bryan Herman 2014-04-23 08:12:18 -07:00
parent d7a7d0f45c
commit c4be7956f5

View file

@ -161,7 +161,7 @@ endif()
# git SHA1 hash
#===============================================================================
execute_process(COMMAND git rev-parse -q HEAD
execute_process(COMMAND git rev-parse HEAD
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
RESULT_VARIABLE GIT_SHA1_SUCCESS
OUTPUT_VARIABLE GIT_SHA1