[build] Moved git command into the command list (#493)

According to the meson documentation, vcs commands need to be a part
of the command string list. Right now, it pulls the version number no
matter what.
This commit is contained in:
varris1 2018-07-11 19:26:45 +02:00 committed by Philip Rebohle
parent 65ffa4122d
commit 336cb6a67b
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ glsl_generator = generator(glsl_compiler,
output : [ '@BASENAME@.h' ],
arguments : [ '-V', '--vn', '@BASENAME@', '@INPUT@', '-o', '@OUTPUT@' ])
dxvk_version = vcs_tag(['git', 'describe'],
dxvk_version = vcs_tag(
command: ['git', 'describe'],
input: 'version.h.in',
output: 'version.h')