Fix git describe command to retrieve version tags correctly.
Change-Id: I904f5ccdb88c1e28d5eeffd104174fcd57626ee7
[ROCm/ROCR-Runtime commit: c6cf161125]
This commit is contained in:
1 parent
3dca2b343f
commit
f902a37ae3
1 file changed
+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
|
||||
|
||||
Reference in new issue
Block a user