CPack: Add tweak number. Now packages include the tweak number in the name

This commit is contained in:
Luis Díaz Más 2018-09-13 10:45:55 +02:00
parent ae0bfa44df
commit 5eb692d536
2 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required( VERSION 3.3.2 )
project( exiv2
VERSION 0.27.0
project(exiv2
VERSION 0.27.0.0
LANGUAGES CXX C
)

View File

@ -1,8 +1,6 @@
set(CPACK_PACKAGE_NAME "${PROJECT_NAME}")
set(CPACK_PACKAGE_CONTACT "Luis Díaz Más <piponazo@gmail.com>")
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH})
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
set(CPACK_SOURCE_GENERATOR TBZ2)
set(CPACK_SOURCE_IGNORE_FILES "build.*;\.git/;test;third-party;")