Fixed OPTION_AUTOVERSION for new sourceforge url

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5406 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
beaglejoe 2013-04-14 00:30:45 +00:00
parent e19eee30f5
commit 2611411b75
1 changed files with 4 additions and 4 deletions

View File

@ -31,10 +31,10 @@ ELSE(NOT OPTION_AUTOVERSION)
SET(HEAD_URL "$HeadURL$")
# Define regular expressions
SET(REGEX_TAG "^\\$HeadURL:.*speed-dreams/tags/([^/\\$ ]*).*\\$$")
SET(REGEX_BUG_BRANCH "^\\$HeadURL:.*speed-dreams/branches/([0-9]+\\.[0-9]+)(\\.[xX])?/.*\\$$")
SET(REGEX_TRUNK "^\\$HeadURL:.*speed-dreams/trunk/.*\\$$")
SET(REGEX_BRANCH "^\\$HeadURL:.*speed-dreams/branches/([^/\\$ ]*).*\\$$")
SET(REGEX_TAG "^\\$HeadURL:.*speed-dreams/code/tags/([^/\\$ ]*).*\\$$")
SET(REGEX_BUG_BRANCH "^\\$HeadURL:.*speed-dreams/code/branches/([0-9]+\\.[0-9]+)(\\.[xX])?/.*\\$$")
SET(REGEX_TRUNK "^\\$HeadURL:.*speed-dreams/code/trunk/.*\\$$")
SET(REGEX_BRANCH "^\\$HeadURL:.*speed-dreams/code/branches/([^/\\$ ]*).*\\$$")
# Check regular expressions
STRING(REGEX MATCH "${REGEX_TAG}" VERSION_IS_TAG "${HEAD_URL}")