mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
Better handling of versions to avoid user confusion for non otx compilations
This commit is contained in:
parent
8317d17d1b
commit
e3d6a90bc1
1 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,10 @@ project(OpenTX)
|
|||
|
||||
set(VERSION_MAJOR "2")
|
||||
set(VERSION_MINOR "3")
|
||||
set(VERSION_REVISION "13")
|
||||
set(VERSION_REVISION "12")
|
||||
if (TEST_BUILD_WARNING)
|
||||
math(EXPR VERSION_REVISION "${VERSION_REVISION} + 1")
|
||||
endif()
|
||||
set(VERSION_SUFFIX $ENV{OPENTX_VERSION_SUFFIX})
|
||||
set(VERSION_FAMILY ${VERSION_MAJOR}.${VERSION_MINOR})
|
||||
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_REVISION}${VERSION_SUFFIX})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue