diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-09-12 13:27:30 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-09-12 13:27:30 +0200 |
commit | 570b90eb438b05696932731dff521aecc81bb409 (patch) | |
tree | ed0edff09708d44ee3a025b0445b3d5728defb9b | |
parent | Merge pull request #132 from fluffypony/master (diff) | |
download | monero-570b90eb438b05696932731dff521aecc81bb409.tar.xz |
fixed cmake variable matching
-rw-r--r-- | src/version.cmake | 2 |
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() |