build: separate version from the rest of the configuration data

This should make sure that we always have 'config.h' available and
should fix issues with flatpak build as seen in #257:

`fatal error: config.h: No such file or directory`
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-04-16 18:15:59 +02:00
parent d7df1a4931
commit 70f1df7e0e
4 changed files with 10 additions and 6 deletions

1
src/version.h.in Normal file
View File

@@ -0,0 +1 @@
#define VCS_TAG "@VCS_TAG@"