mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
Fix CPack package version number
Currently running "ninja-build package" produces a file with and incorrect version number. This patch passes the CMake version variables into CPack to get the correct filename. Old "gnucash-0.1.1-Linux.tar.gz" new "gnucash-2.7.5-Linux.tar.gz"
This commit is contained in:
parent
2d983c6703
commit
41d79f4ef3
@ -921,6 +921,11 @@ ENDIF()
|
||||
# ############################################################
|
||||
# Package creation rules
|
||||
|
||||
SET(CPACK_PACKAGE_VERSION_MAJOR "${GNUCASH_MAJOR_VERSION}")
|
||||
SET(CPACK_PACKAGE_VERSION_MINOR "${GNUCASH_MINOR_VERSION}")
|
||||
SET(CPACK_PACKAGE_VERSION_PATCH "${GNUCASH_MICRO_VERSION}")
|
||||
SET(CPACK_PACKAGE_VERSION "${VERSION}")
|
||||
|
||||
IF(UNIX)
|
||||
SET(CPACK_GENERATOR "TGZ")
|
||||
ENDIF(UNIX)
|
||||
|
Loading…
Reference in New Issue
Block a user