diff --git a/CMakeLists.txt b/CMakeLists.txt index 92849f490..0237a70cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ if(MANUAL_REVISION_UNSET) if(GIT_FOUND) message(STATUS "Found Git ${GIT_VERSION_STRING}") execute_process( - COMMAND ${GIT_EXECUTABLE} describe "--dirty" + COMMAND ${GIT_EXECUTABLE} describe "--dirty" "--always" "--tags" WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} RESULT_VARIABLE res_var OUTPUT_VARIABLE GIT_COMMIT_ID