fixed CMake version matching

This commit is contained in:
Riccardo Spagni 2014-12-02 08:36:01 +02:00
parent ef2a2b42c9
commit a144997c48
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ else()
message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}") message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}")
# Check if we're building that tagged commit or a different one # Check if we're building that tagged commit or a different one
if(COMMIT MATCHES TAGGEDCOMMIT) if(COMMIT STREQUAL TAGGEDCOMMIT)
message(STATUS "You are building a tagged release") message(STATUS "You are building a tagged release")
set(VERSIONTAG "release") set(VERSIONTAG "release")
else() else()