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
This commit is contained in:
pouillot 2012-01-08 18:37:30 +00:00
parent d9d071ae15
commit 6177d61320
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ ELSEIF(VERSION_IS_BRANCH)
SET(NEED_SVN_REV TRUE)
ELSE(VERSION_IS_TAG)
MESSAGE("Warning: Could not determine version name from HeadURL ${HEAD_URL}")
SET(VERSION "0.0-unkown")
ENDIF(VERSION_IS_TAG)
#Try to get current revision