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:
parent
bf4b22ffe4
commit
9daff419f6
3 changed files with 18 additions and 13 deletions
7
scripts/build-info.h.in
Normal file
7
scripts/build-info.h.in
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue