mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-21 14:35:27 -04:00
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:
parent
d7a7d0f45c
commit
c4be7956f5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue