Fix git describe command to retrieve version tags correctly.

Change-Id: I904f5ccdb88c1e28d5eeffd104174fcd57626ee7


[ROCm/ROCR-Runtime commit: c6cf161125]
This commit is contained in:
Sean Keely
2018-07-10 20:19:04 -05:00
parent 3dca2b343f
commit f902a37ae3
@@ -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