For Qt GUI build, make timestamp UTC based for reproducible builds. Patch from debian.

This commit is contained in:
harry 2022-05-30 05:17:58 -04:00 committed by zeromus
parent a87902b427
commit fc9f89dafc
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ set(SOURCES ${SRC_CORE} ${SRC_DRIVERS_COMMON} ${SRC_DRIVERS_SDL})
# the FCEUX_BUILD_TIMESTAMP preprocessor definition.
# Note: with CMake >= 3.8.0, this will respect SOURCE_DATE_EPOCH. For more info,
# see <https://reproducible-builds.org/docs/source-date-epoch/>.
string(TIMESTAMP BUILD_TS "%H:%M:%S %b %d %Y")
string(TIMESTAMP BUILD_TS "%H:%M:%S %b %d %Y" UTC)
add_definitions( -DFCEUX_BUILD_TIMESTAMP=\"${BUILD_TS}\" )
if (WIN32)