mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-25 03:29:55 +00:00
fix some found warning
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
exec_program(
|
||||
"git"
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
ARGS "log" "-1" "--format=\"%h\""
|
||||
execute_process(
|
||||
COMMAND git log -1 --format=%h
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE COMMIT_SHA
|
||||
RETURN_VALUE GIT_RETURN
|
||||
RESULT_VARIABLE GIT_RETURN
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
|
||||
if (${GIT_RETURN} EQUAL "0")
|
||||
|
Reference in New Issue
Block a user