diff --git a/libs/libcommon/src/create_revision.sh.cmake b/libs/libcommon/src/create_revision.sh.cmake index b9e549c4a7e..0c20047d556 100644 --- a/libs/libcommon/src/create_revision.sh.cmake +++ b/libs/libcommon/src/create_revision.sh.cmake @@ -8,6 +8,7 @@ cd ${CMAKE_CURRENT_SOURCE_DIR}; if (git rev-parse --is-inside-work-tree &> /dev/null) then # GIT + git fetch --tags; ( git describe --tags || echo 1 ) | cut -d "-" -f 1 >> ${CMAKE_CURRENT_BINARY_DIR}/src/revision.h; else #SVN