File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
5454include (GetGitRevisionDescription )
5555
5656# Get the VCS revision.
57- git_describe_working_tree (VTR_VCS_REVISION --tags -- always --long )
57+ git_describe_working_tree (VTR_VCS_REVISION --always --long )
5858string (FIND ${VTR_VCS_REVISION} "NOTFOUND" GIT_DESCRIBE_VTR_REVISION_NOTFOUND)
5959if (NOT ${GIT_DESCRIBE_VTR_REVISION_NOTFOUND} EQUAL -1)
6060 # Git describe failed, usually this means we
@@ -64,7 +64,7 @@ if (NOT ${GIT_DESCRIBE_VTR_REVISION_NOTFOUND} EQUAL -1)
6464endif ()
6565
6666# Get the short VCS revision
67- git_describe_working_tree (VTR_VCS_REVISION_SHORT --tags -- always --long --exclude '*' )
67+ git_describe_working_tree (VTR_VCS_REVISION_SHORT --always --long --exclude '*' )
6868string (FIND "${VTR_VCS_REVISION_SHORT} " "NOTFOUND" GIT_DESCRIBE_VTR_REVISION_SHORT_NOTFOUND)
6969if (NOT ${GIT_DESCRIBE_VTR_REVISION_SHORT_NOTFOUND} EQUAL -1)
7070 # Git describe failed, usually this means we
You can’t perform that action at this time.
0 commit comments