Add the generated version header to the file list

Otherwise it may not be generated yet on first build.
This commit is contained in:
Robbert van der Helm
2020-04-26 14:29:08 +02:00
parent b5743113bf
commit b17c413de4
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -47,6 +47,7 @@ shared_library(
'src/common/serialization.cpp',
'src/plugin/host-bridge.cpp',
'src/plugin/plugin.cpp',
version_header,
],
native : true,
include_directories : include_dir,
@@ -65,6 +66,7 @@ executable(
'src/wine-host/plugin-bridge.cpp',
'src/wine-host/vst-host.cpp',
'src/wine-host/utils.cpp',
version_header,
],
native : false,
include_directories : include_dir,
+1 -1
View File
@@ -1,6 +1,6 @@
# Generate a file containing the last annotated git tag and possibly also the
# amount of commits since then and the hash of the last commit
vcs_tag(
version_header = vcs_tag(
command : ['git', 'describe', '--always'],
input : 'version.h.in',
output : 'version.h',