aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-09-12 13:30:14 +0200
committerRiccardo Spagni <ric@spagni.net>2014-09-12 13:30:14 +0200
commit63f60b17779ef9f2ff8939bf69eab4173d81191f (patch)
treeed0edff09708d44ee3a025b0445b3d5728defb9b
parentMerge pull request #132 from fluffypony/master (diff)
parentfixed cmake variable matching (diff)
downloadmonero-63f60b17779ef9f2ff8939bf69eab4173d81191f.tar.xz
Merge pull request #133 from fluffypony/master
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()