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