summaryrefslogtreecommitdiffstats
path: root/modules/FindTDE.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-12 19:49:57 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-03-23 17:20:26 +0100
commit589e29d02047aaae584234d0568ef03da6cfd47f (patch)
treef98756d68fc029c3e84b109cbf03e8da3349eda0 /modules/FindTDE.cmake
parentad602fcd91eee974750a1323d6e187461b1f8210 (diff)
downloadtde-cmake-589e29d02047aaae584234d0568ef03da6cfd47f.tar.gz
tde-cmake-589e29d02047aaae584234d0568ef03da6cfd47f.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>
Diffstat (limited to 'modules/FindTDE.cmake')
-rw-r--r--modules/FindTDE.cmake9
1 files changed, 2 insertions, 7 deletions
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}" )