summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-11-02 18:10:10 +0400
committerKonstantin Kostiuk <kkostiuk@redhat.com>2023-11-25 19:23:38 +0200
commit7e5b19793d0519ec761f2bcf6591a4c995de3894 (patch)
treed65a5abbf59ea66a1b995c9d2b2a50d9c7250428
parent4705fc0c8511d073bee4751c3c974aab2b10a970 (diff)
downloadfocaccia-qemu-7e5b19793d0519ec761f2bcf6591a4c995de3894.tar.gz
focaccia-qemu-7e5b19793d0519ec761f2bcf6591a4c995de3894.zip
build-sys: fix meson project version usage
Program wixl found: YES (/usr/bin/wixl)

../qga/meson.build:149:16: ERROR: Unknown variable "project".

Fixes: e20d68aa0b9 ("configure, meson: use command line options to configure qemu-ga")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
-rw-r--r--qga/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/meson.build b/qga/meson.build
index 940a51d55d..ff7a8496e4 100644
--- a/qga/meson.build
+++ b/qga/meson.build
@@ -146,7 +146,7 @@ if targetos == 'windows'
       libpcre = 'libpcre2'
     endif
     qga_msi_version = get_option('qemu_ga_version') == '' \
-      ? project.version() \
+      ? meson.project_version() \
       : get_option('qemu_ga_version')
     qga_msi = custom_target('QGA MSI',
                             input: files('installer/qemu-ga.wxs'),