commit 8fc9f503f9f691144ff65928ca12ddf0b3fde3c7
parent 614aa28a7b7b04ac9b54aa8c0355e01a76ee0240
Author: Hummer12007 <hilobakho@gmail.com>
Date: Tue, 12 Jul 2016 13:44:19 +0000
Enable using non-annotated tags in git-describe
This fixes the version string
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -20,7 +20,7 @@ list(INSERT CMAKE_MODULE_PATH 0
)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
execute_process(
- COMMAND git describe --always
+ COMMAND git describe --always --tags
OUTPUT_VARIABLE GIT_COMMIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}