Fix SYNERGY_SNAPSHOT_INFO for non-snapshot builds

This commit is contained in:
Andrew Nelless 2017-05-22 17:34:43 +01:00 committed by GitHub
parent 8d92b7ad45
commit dbdb033bcc
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ endif()
string (TIMESTAMP SYNERGY_BUILD_DATE "%Y%m%d" UTC)
if (SYNERGY_VERSION_STAGE STREQUAL "git")
set (SYNERGY_SNAPSHOT_INFO "${SYNERGY_BUILD_DATE}.${SYNERGY_REVISION}")
set (SYNERGY_SNAPSHOT_INFO ".${SYNERGY_BUILD_DATE}.${SYNERGY_REVISION}")
set (SYNERGY_VERSION_TAG "b${SYNERGY_BUILD_DATE}-${SYNERGY_REVISION}")
else()
set (SYNERGY_SNAPSHOT_INFO "")