Use GNUCASH_BUILD_ID in the gnucash appdata file

Add it to the release version if
- it was defined
- and it's not the same as GNC_VCS_REV
This commit is contained in:
Geert Janssens
2020-02-16 20:02:33 +01:00
parent 832ad7e85e
commit 7a16e04822
2 changed files with 6 additions and 0 deletions

View File

@@ -13,4 +13,9 @@
include (${SRC_DIR}/cmake/version-info2env.cmake)
versioninfo2env (${VCS_INFO_FILE})
if (GNUCASH_BUILD_ID AND NOT "${GNUCASH_BUILD_ID}" STREQUAL "${GNC_VCS_REV}")
set (GNC_VCS_REV "${GNC_VCS_REV} (${GNUCASH_BUILD_ID})")
endif()
configure_file(${SRC} ${DST})