aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-09-12 13:27:30 +0200
committerRiccardo Spagni <ric@spagni.net>2014-09-12 13:27:30 +0200
commit570b90eb438b05696932731dff521aecc81bb409 (patch)
treeed0edff09708d44ee3a025b0445b3d5728defb9b
parentMerge pull request #132 from fluffypony/master (diff)
downloadmonero-570b90eb438b05696932731dff521aecc81bb409.tar.xz
fixed cmake variable matching
-rw-r--r--src/version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/version.cmake b/src/version.cmake
index 40243c018..090ca690b 100644
--- a/src/version.cmake
+++ b/src/version.cmake
@@ -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()