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

View file

@ -68,7 +68,7 @@ else()
message(STATUS "The most recent tag was at ${TAGGEDCOMMIT}")
# 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")
set(VERSIONTAG "release")
else()