Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2013-12-09 19:35:30 +0400
committerDaniel Molkentin <danimo@owncloud.com>2013-12-09 19:39:13 +0400
commitf5e8efd435aad3273c73d95944322f2f74c2b1ff (patch)
treef9a5f3a11e2e0f4a269579bc79475b14a87d4043 /OwnCloudCPack.cmake
parente5edb8e2c7375d7119bfca77b9fd78dff6983e86 (diff)
Add build number into versioning scheme
This is an enabler to improve update experience
Diffstat (limited to 'OwnCloudCPack.cmake')
-rw-r--r--OwnCloudCPack.cmake9
1 files changed, 5 insertions, 4 deletions
diff --git a/OwnCloudCPack.cmake b/OwnCloudCPack.cmake
index 3b7a4ac8f..d2c4c4a17 100644
--- a/OwnCloudCPack.cmake
+++ b/OwnCloudCPack.cmake
@@ -9,10 +9,11 @@ else ()
endif()
include( VERSION.cmake )
-set( CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR} )
-set( CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR} )
-set( CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH} )
-set( CPACK_PACKAGE_VERSION ${VERSION} )
+set( CPACK_PACKAGE_VERSION_MAJOR ${MIRALL_VERSION_MAJOR} )
+set( CPACK_PACKAGE_VERSION_MINOR ${MIRALL_VERSION_MINOR} )
+set( CPACK_PACKAGE_VERSION_PATCH ${MIRALL_VERSION_PATCH} )
+set( CPACK_PACKAGE_VERSION_BUILD ${MIRALL_VERSION_BUILD} )
+set( CPACK_PACKAGE_VERSION ${MIRALL_VERSION_FULL} )
if(APPLE)
set( CPACK_GENERATOR "DragNDrop" )