Remove the timestamps from the zipped changelog file.

This commit is contained in:
Username404 2021-03-25 16:18:00 +01:00
parent fbd7d8684e
commit a00b36eaae
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ if (UNIX AND NOT MINGW)
set(GZNAME "changelog.Debian.gz")
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}"
COMMAND gzip -c -k -9 "${CMAKE_CURRENT_SOURCE_DIR}/changelog" > ${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}
COMMAND gzip -c -k -n -9 "${CMAKE_CURRENT_SOURCE_DIR}/changelog" > ${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/changelog"
COMMENT "Compressing the changelog file"