diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-03-12 19:49:57 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-03-23 17:21:55 +0100 |
commit | e4232ffcdff06354c110573559a947e662449e33 (patch) | |
tree | 58e02b144b8428a1dbed3b114c83906180130e2a /modules/FindTDE.cmake | |
parent | b3510baa2dc646dccc1d759d51fdbcbe37a4385c (diff) | |
download | tde-cmake-e4232ffcdff06354c110573559a947e662449e33.tar.gz tde-cmake-e4232ffcdff06354c110573559a947e662449e33.zip |
Use the source package date or the source git repository date
instead of the current build date. The use of a stable date
is necessary to achieve reproducible builds.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 589e29d02047aaae584234d0568ef03da6cfd47f)
Diffstat (limited to 'modules/FindTDE.cmake')
-rw-r--r-- | modules/FindTDE.cmake | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/FindTDE.cmake b/modules/FindTDE.cmake index f91d827..865e5d7 100644 --- a/modules/FindTDE.cmake +++ b/modules/FindTDE.cmake @@ -89,13 +89,8 @@ if( NOT TDE_FOUND ) set( KDE3_DCOPIDLNG_EXECUTABLE env KDECONFIG=${KDECONFIG_EXECUTABLE} ${KDE3_DCOPIDLNG_EXECUTABLE} CACHE INTERNAL "dcopidlng executable" FORCE ) - # look for SCM data if present - if( EXISTS "${CMAKE_SOURCE_DIR}/.tdescmmodule" ) - file( STRINGS "${CMAKE_SOURCE_DIR}/.tdescmmodule" TDE_SCM_MODULE_NAME ) - endif( EXISTS "${CMAKE_SOURCE_DIR}/.tdescmmodule" ) - if( EXISTS "${CMAKE_SOURCE_DIR}/.tdescmrevision" ) - file( STRINGS "${CMAKE_SOURCE_DIR}/.tdescmrevision" TDE_SCM_MODULE_REVISION ) - endif( EXISTS "${CMAKE_SOURCE_DIR}/.tdescmrevision" ) + # read source metadata + tde_read_src_metadata() message( STATUS " found 'TDE', version ${TDE_VERSION}" ) |