fix build-info.h for git submodules (#1289)

* make git build info work with submodules

---------

Co-authored-by: Green Sky <green@g-s.xyz>
This commit is contained in:
kuvaus
2023-05-03 03:43:43 +03:00
committed by GitHub
parent bf4b22ffe4
commit 9daff419f6
3 changed files with 18 additions and 13 deletions

7
scripts/build-info.h.in Normal file
View File

@@ -0,0 +1,7 @@
#ifndef BUILD_INFO_H
#define BUILD_INFO_H
#define BUILD_NUMBER @BUILD_NUMBER@
#define BUILD_COMMIT "@BUILD_COMMIT@"
#endif // BUILD_INFO_H