Fix git describe command to retrieve version tags correctly.

Change-Id: I33282e8130d092e2f56b2f5947946d3c0ee22c60
This commit is contained in:
Sean Keely
2018-07-10 19:49:00 -05:00
bovenliggende ab9017715f
commit 63f2a0d280
+1 -1
Bestand weergeven
@@ -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