Merge pull request #133 from fluffypony/master

fixed cmake variable matching
This commit is contained in:
Riccardo Spagni 2014-09-12 13:30:14 +02:00
commit 63f60b1777
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ else()
set(VERSIONTAG "${COMMIT}")
else()
message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}")
if(COMMIT MATCHES TAGGEDCOMMIT)
if(${COMMIT} MATCHES ${TAGGEDCOMMIT})
message(STATUS "You are building a tagged release")
set(VERSIONTAG "release")
else()