Fix undefined VERSION when can't determine version name from HeadURL
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4382 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 28d1dee195581ddbe90db5c90da229b0be16b61b Former-commit-id: 0d8c5cd6e6f057aba266d8c4bed341caebcd0d35
This commit is contained in:
parent
84b05b69d4
commit
81c5b77baf
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ ELSEIF(VERSION_IS_BRANCH)
|
||||||
SET(NEED_SVN_REV TRUE)
|
SET(NEED_SVN_REV TRUE)
|
||||||
ELSE(VERSION_IS_TAG)
|
ELSE(VERSION_IS_TAG)
|
||||||
MESSAGE("Warning: Could not determine version name from HeadURL ${HEAD_URL}")
|
MESSAGE("Warning: Could not determine version name from HeadURL ${HEAD_URL}")
|
||||||
|
SET(VERSION "0.0-unkown")
|
||||||
ENDIF(VERSION_IS_TAG)
|
ENDIF(VERSION_IS_TAG)
|
||||||
|
|
||||||
#Try to get current revision
|
#Try to get current revision
|
||||||
|
|
Loading…
Reference in a new issue