aboutsummaryrefslogtreecommitdiff
path: root/src/version.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-21 14:17:32 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-23 16:42:35 -0400
commitc24d22b44e1c6a0c30c7e85da9e828810141f313 (patch)
tree3d8d83ed2149e77d84d60822b7def28128aea4a7 /src/version.cmake
parentbuild: inform the build of what generates version.h (diff)
downloadmonero-c24d22b44e1c6a0c30c7e85da9e828810141f313.tar.xz
cmake: clean up if auto-dereferencing
CMake will auto-dereference variable names in if statements, so there's no need to dereference them manually.
Diffstat (limited to '')
-rw-r--r--src/version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/version.cmake b/src/version.cmake
index 2f3aa0b25..0baee19fd 100644
--- a/src/version.cmake
+++ b/src/version.cmake
@@ -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()