From 98e88370a5ba591aca1572cedb3af0dc8d614dd2 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 2 Nov 2020 08:32:01 +0200 Subject: Fix version.h build fail --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index fde2360..b7fcae7 100644 --- a/meson.build +++ b/meson.build @@ -16,7 +16,7 @@ summary({ 'linker': cxx.get_linker_id(), }, section: 'Compiler') -vcs_tag(input: 'src/version.h.in', output: 'version.h') +version_h = vcs_tag(input: 'src/version.h.in', output: 'version.h') mod_qt5 = import('qt5') dep_qt5 = dependency('qt5', modules: [ 'Core', 'Widgets' ], include_type: 'system') @@ -28,7 +28,7 @@ moc = mod_qt5.preprocess( ) exe = executable('qimv', - sources: [ 'src/main.cpp', 'src/mainwindow.cpp', 'src/scaleform.cpp', moc ], + sources: [ 'src/main.cpp', 'src/mainwindow.cpp', 'src/scaleform.cpp', moc, version_h ], dependencies: dep_qt5, install: true) -- cgit v1.2.1