tools: Add --always option to git describe for Cmake

Fixed differences in getting of the project version for Make and Cmake.
This commit is contained in:
KonstantinKondrashov
2019-01-11 18:09:12 +08:00
committed by Konstantin Kondrashov
parent 58acac883d
commit 187f9945bc

View File

@@ -112,6 +112,7 @@ function(git_describe _var _repo_dir)
"-C"
${_repo_dir}
describe
"--always"
${hash}
${ARGN}
WORKING_DIRECTORY