Fix git describe command to retrieve version tags correctly.
Change-Id: I33282e8130d092e2f56b2f5947946d3c0ee22c60
This commit is contained in:
@@ -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
|
||||
|
||||
Verwijs in nieuw issue
Block a user