+ # git describe --tags failed, for example it fails if repo was checked with depth=1
+ if(NOT ${TAG_RESULT} EQUAL 0)
+ exec_program(${GIT_EXECUTABLE}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ARGS "describe --always"
+ OUTPUT_VARIABLE KDENLIVE_GIT_REVISION
+ )
+ endif(NOT ${TAG_RESULT} EQUAL 0)