mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 22:15:57 +03:00
Don't invariably set variables that could be also set externally
We can't use cached variables here, since at least the suffix may change at any time, and it needs to take precedence over any cached content, which cmake doesn't seem to allow for.
This commit is contained in:
parent
31989d23a6
commit
dd323bc296
1 changed files with 7 additions and 2 deletions
|
@ -3,8 +3,13 @@ set( MIRALL_VERSION_MINOR 5 )
|
|||
set( MIRALL_VERSION_PATCH 0 )
|
||||
set( MIRALL_SOVERSION 0 )
|
||||
|
||||
set( MIRALL_VERSION_SUFFIX "beta3" ) # "e.g. beta1, beta2, rc1"
|
||||
set( MIRALL_VERSION_BUILD "0" ) # "Integer ID. Generated by the build system
|
||||
if ( NOT DEFINED MIRALL_VERSION_SUFFIX )
|
||||
set( MIRALL_VERSION_SUFFIX "beta3" ) #e.g. beta1, beta2, rc1
|
||||
endif( NOT DEFINED MIRALL_VERSION_SUFFIX )
|
||||
|
||||
if( NOT DEFINED MIRALL_VERSION_BUILD )
|
||||
set( MIRALL_VERSION_BUILD "0" ) # Integer ID. Generated by the build system
|
||||
endif( NOT DEFINED MIRALL_VERSION_BUILD )
|
||||
|
||||
# Composite defines
|
||||
# Used e.g. for libraries Keep at x.y.z.
|
||||
|
|
Loading…
Reference in a new issue