mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
fd17b17a04
Signed-off-by: Christoph Willing <chris.willing@linux.com>
16 lines
695 B
Diff
16 lines
695 B
Diff
--- build_files/cmake/buildinfo.cmake.orig 2017-09-11 14:34:59.000000000 +1000
|
|
+++ build_files/cmake/buildinfo.cmake 2017-09-14 11:10:52.213995610 +1000
|
|
@@ -8,9 +8,10 @@
|
|
|
|
# Extract working copy information for SOURCE_DIR into MY_XXX variables
|
|
# with a default in case anything fails, for example when using git-svn
|
|
-set(MY_WC_HASH "unknown")
|
|
-set(MY_WC_BRANCH "unknown")
|
|
-set(MY_WC_COMMIT_TIMESTAMP 0)
|
|
+# Timestamp from $(date --date='TZ="UTC" 08:47 12-Sep-17' +%s) - time & date of commit
|
|
+set(MY_WC_HASH "8ef39d5c8828")
|
|
+set(MY_WC_BRANCH "master")
|
|
+set(MY_WC_COMMIT_TIMESTAMP 1505206020)
|
|
|
|
# Guess if this is a git working copy and then look up the revision
|
|
if(EXISTS ${SOURCE_DIR}/.git)
|