aboutsummaryrefslogtreecommitdiff
path: root/src/cmake_config_githash.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmake_config_githash.h.in')
-rw-r--r--src/cmake_config_githash.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cmake_config_githash.h.in b/src/cmake_config_githash.h.in
new file mode 100644
index 000000000..4d5fcd60f
--- /dev/null
+++ b/src/cmake_config_githash.h.in
@@ -0,0 +1,10 @@
+// Filled in by the build system
+// Separated from cmake_config.h to avoid excessive rebuilds on every commit
+
+#ifndef CMAKE_CONFIG_GITHASH_H
+#define CMAKE_CONFIG_GITHASH_H
+
+#define CMAKE_VERSION_GITHASH "@VERSION_GITHASH@"
+
+#endif
+