diff --git a/cmake/Conky.cmake b/cmake/Conky.cmake index 1af6471c..2f560668 100644 --- a/cmake/Conky.cmake +++ b/cmake/Conky.cmake @@ -177,6 +177,7 @@ execute_process(COMMAND ${APP_UNAME} -sm OUTPUT_STRIP_TRAILING_WHITESPACE) execute_process(COMMAND ${APP_GIT} rev-parse --short HEAD + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} RESULT_VARIABLE RETVAL OUTPUT_VARIABLE GIT_SHORT_SHA OUTPUT_STRIP_TRAILING_WHITESPACE)