From 589e29d02047aaae584234d0568ef03da6cfd47f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 12 Mar 2020 19:49:57 +0100 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- modules/FindTDE.cmake | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'modules/FindTDE.cmake') diff --git a/modules/FindTDE.cmake b/modules/FindTDE.cmake index 01e6f46..ff33a13 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}" ) -- cgit v1.2.1