Fix git describe command to retrieve version tags correctly.

Change-Id: I904f5ccdb88c1e28d5eeffd104174fcd57626ee7
此提交包含在:
Sean Keely
2018-07-10 20:19:04 -05:00
父節點 06759fed5f
當前提交 c6cf161125
+1 -1
查看文件
@@ -93,7 +93,7 @@ function ( get_version DEFAULT_VERSION_STRING )
if ( GIT )
execute_process ( COMMAND git describe --dirty --long --match [0-9]*
execute_process ( COMMAND git describe --tags --dirty --long
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE GIT_TAG_STRING
OUTPUT_STRIP_TRAILING_WHITESPACE