Update CMakeLists.txt
This commit is contained in:
parent
7f48685411
commit
7c89fdb6eb
|
@ -111,10 +111,10 @@ endif()
|
|||
string (TIMESTAMP SYNERGY_BUILD_DATE "%Y%m%d" UTC)
|
||||
|
||||
if (SYNERGY_VERSION_STAGE STREQUAL "git")
|
||||
set (SYNERGY_SNAPSHOT_INFO ".unstable.b${SYNERGY_BUILD_NUMBER}.${SYNERGY_REVISION}")
|
||||
set (SYNERGY_SNAPSHOT_INFO ".unstable.${SYNERGY_REVISION}")
|
||||
set (SYNERGY_VERSION_TAG "unstable.b${SYNERGY_BUILD_NUMBER}-${SYNERGY_REVISION}")
|
||||
else()
|
||||
set (SYNERGY_SNAPSHOT_INFO "${SYNERGY_VERSION_STAGE}.b${SYNERGY_BUILD_NUMBER}.${SYNERGY_REVISION}")
|
||||
set (SYNERGY_SNAPSHOT_INFO ".${SYNERGY_VERSION_STAGE}.${SYNERGY_REVISION}")
|
||||
set (SYNERGY_VERSION_TAG "${SYNERGY_VERSION_STAGE}.b${SYNERGY_BUILD_NUMBER}-${SYNERGY_REVISION}")
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue