diff options
author | Slávek Banko <[email protected]> | 2021-01-16 00:55:28 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-01-16 00:55:44 +0100 |
commit | d8cf6f1988801f096114bdba6df552c78069dca6 (patch) | |
tree | 638b384a6bd36460529eb0df27d37a000463472c /ConfigureChecks.cmake | |
parent | 83e491dc13f70e76bd4cd79313098379123be1e2 (diff) | |
download | tork-d8cf6f1988801f096114bdba6df552c78069dca6.tar.gz tork-d8cf6f1988801f096114bdba6df552c78069dca6.zip |
Replace __DATE__ with PACKAGE_DATETIME in the crash handler
to allow reproducible build.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 46ca3fa9524fb1800a26b65fc49b1e5bc41be613)
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r-- | ConfigureChecks.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index b36d0e7..4479983 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -39,6 +39,12 @@ check_include_file( "sys/time.h" HAVE_SYS_TIME_H ) check_include_files( "sys/time.h;time.h" TIME_WITH_SYS_TIME ) +##### get the date and time of the package + +tde_read_src_metadata() +tde_curdatetime( PACKAGE_DATETIME ) + + ##### check for GnuTLS or OpenSSL( default ) if( WITH_GNUTLS ) |