summaryrefslogtreecommitdiff
path: root/src/extras
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2021-02-12 02:04:31 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-02-12 21:09:46 +0300
commit0c60ceeb33c06c17b35773ca4095c2d4c342a0dc (patch)
tree167934e328d12c31cd1d058c03411c60b38b3f0d /src/extras
parent2c784d979a88035176082edf986a2c02b9073338 (diff)
Cmake version for hash
Diffstat (limited to 'src/extras')
-rw-r--r--src/extras/GitSHA1.cpp2
-rw-r--r--src/extras/GitSHA1.cpp.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/extras/GitSHA1.cpp b/src/extras/GitSHA1.cpp
deleted file mode 100644
index 3d1cd73e..00000000
--- a/src/extras/GitSHA1.cpp
+++ /dev/null
@@ -1,2 +0,0 @@
-#define GIT_SHA1 ""
-const char* g_GIT_SHA1 = GIT_SHA1;
diff --git a/src/extras/GitSHA1.cpp.in b/src/extras/GitSHA1.cpp.in
new file mode 100644
index 00000000..6168dc79
--- /dev/null
+++ b/src/extras/GitSHA1.cpp.in
@@ -0,0 +1,2 @@
+#define GIT_SHA1 "@GIT_SHA1@"
+const char* g_GIT_SHA1 = GIT_SHA1;