cmake: clean up if auto-dereferencing

CMake will auto-dereference variable names in if statements, so there's
no need to dereference them manually.
This commit is contained in:
Ben Boeckel 2014-10-21 14:17:32 -04:00
parent 9ed415ad43
commit c24d22b44e
2 changed files with 4 additions and 4 deletions

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 MATCHES TAGGEDCOMMIT)
message(STATUS "You are building a tagged release")
set(VERSIONTAG "release")
else()