summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-11-02 08:32:01 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-11-02 08:32:01 +0200
commit98e88370a5ba591aca1572cedb3af0dc8d614dd2 (patch)
tree0208643caa40761d6849633ac05961527b5c0cd8
parentAdd ScaleForm widget (diff)
downloadqimv-98e88370a5ba591aca1572cedb3af0dc8d614dd2.tar.xz
Fix version.h build fail
-rw-r--r--meson.build4
1 files 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)