diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-09-15 08:22:52 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-09-15 08:22:52 +0200 |
commit | 3129d51eb4c62e37601f6624a96476305bc23191 (patch) | |
tree | f26cfb54d171271fa60c15e56bc6f77d177b6a8c /src | |
parent | Merge branch 'master' of http://github.com/fluffypony/bitmonero (diff) | |
download | monero-3129d51eb4c62e37601f6624a96476305bc23191.tar.xz |
ignore tag check if we haven't pulled tags
Signed-off-by: Riccardo Spagni <ric@spagni.net>
Diffstat (limited to 'src')
-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 096492330..69890426b 100644 --- a/src/version.cmake +++ b/src/version.cmake @@ -7,7 +7,7 @@ if(RET) else() message(STATUS "You are currently on commit ${COMMIT}") execute_process(COMMAND "${GIT}" show-ref --tags -d --abbrev COMMAND awk "END{print $1}" RESULT_VARIABLE RET OUTPUT_VARIABLE TAGGEDCOMMIT OUTPUT_STRIP_TRAILING_WHITESPACE) - if(RET AND NOT ${TAGGEDCOMMIT} STREQUAL "") + if(RET AND NOT TAGGEDCOMMIT) message(WARNING "Cannot determine most recent tag. Make sure that you are building either from a Git working tree or from a source archive.") set(VERSIONTAG "${COMMIT}") else() |