CPack: Remove jgrpp- prefix from DEB version
This commit is contained in:
@@ -4,6 +4,8 @@ set(CPACK_PACKAGE_VERSION "@REV_VERSION@")
|
|||||||
# Name the output file with the correct version
|
# Name the output file with the correct version
|
||||||
string(REPLACE "#CPACK_PACKAGE_VERSION#" "@REV_VERSION@" CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}")
|
string(REPLACE "#CPACK_PACKAGE_VERSION#" "@REV_VERSION@" CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}")
|
||||||
|
|
||||||
|
string(REGEX REPLACE "^jgrpp-" "" CPACK_DEBIAN_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION}")
|
||||||
|
|
||||||
if (CPACK_BUNDLE_PLIST_SOURCE)
|
if (CPACK_BUNDLE_PLIST_SOURCE)
|
||||||
# Rewrite the Info.plist.in to contain the correct version
|
# Rewrite the Info.plist.in to contain the correct version
|
||||||
file(READ ${CPACK_BUNDLE_PLIST_SOURCE} INFO_PLIST_CONTENT)
|
file(READ ${CPACK_BUNDLE_PLIST_SOURCE} INFO_PLIST_CONTENT)
|
||||||
|
Reference in New Issue
Block a user