OSDN Git Service

build-sys: fix meson project version usage
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 2 Nov 2023 14:10:10 +0000 (18:10 +0400)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Sat, 25 Nov 2023 17:23:38 +0000 (19:23 +0200)
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>
qga/meson.build

index 940a51d..ff7a849 100644 (file)
@@ -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'),