aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2020-10-20 12:12:56 +0400
committerMichael Roth <michael.roth@amd.com>2020-11-02 20:02:21 -0600
commit2a127f96a558bf6a42067604860d6ee63ffe685a (patch)
treee4922418cb779107ca12b8bc038f09d9cb68520e
parent0e3c94758e3851f0ab30d2a1e63a73284499775d (diff)
meson: minor simplification
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael Roth <michael.roth@amd.com>
-rw-r--r--qga/meson.build7
1 files changed, 1 insertions, 6 deletions
diff --git a/qga/meson.build b/qga/meson.build
index 635de9af41..4cb3b3f259 100644
--- a/qga/meson.build
+++ b/qga/meson.build
@@ -22,12 +22,7 @@ qga_qapi_files = custom_target('QGA QAPI files',
depend_files: qapi_gen_depends)
qga_ss = ss.source_set()
-i = 0
-foreach output: qga_qapi_outputs
- qga_ss.add(qga_qapi_files[i])
- i = i + 1
-endforeach
-
+qga_ss.add(qga_qapi_files.to_list())
qga_ss.add(files(
'commands.c',
'guest-agent-command-state.c',