Fix SYNERGY_SNAPSHOT_INFO for non-snapshot builds
This commit is contained in:
parent
8d92b7ad45
commit
dbdb033bcc
|
@ -111,7 +111,7 @@ endif()
|
||||||
string (TIMESTAMP SYNERGY_BUILD_DATE "%Y%m%d" UTC)
|
string (TIMESTAMP SYNERGY_BUILD_DATE "%Y%m%d" UTC)
|
||||||
|
|
||||||
if (SYNERGY_VERSION_STAGE STREQUAL "git")
|
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}")
|
set (SYNERGY_VERSION_TAG "b${SYNERGY_BUILD_DATE}-${SYNERGY_REVISION}")
|
||||||
else()
|
else()
|
||||||
set (SYNERGY_SNAPSHOT_INFO "")
|
set (SYNERGY_SNAPSHOT_INFO "")
|
||||||
|
|
Loading…
Reference in New Issue