summaryrefslogtreecommitdiffhomepage
path: root/opentrack-version.h
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-version.h')
-rw-r--r--opentrack-version.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/opentrack-version.h b/opentrack-version.h
index 1b941000..f31d5edf 100644
--- a/opentrack-version.h
+++ b/opentrack-version.h
@@ -1,3 +1,7 @@
#ifndef OPENTRACK_VERSION
-# define OPENTRACK_VERSION "Mourns-For-Trees"
+# define OPENTRACK_VERSION @OPENTRACK_COMMIT_VERSION@
+#else
+# ifndef OPENTRACK_VERSION
+# define OPENTRACK_VERSION "Mourns-For-Trees"
+# endif
#endif