summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-11-01 21:59:27 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2020-11-01 21:59:27 +0200
commit662d195dfec6e924aef5a9b4d852a03a5671b0b6 (patch)
tree53212f0b745571bc28666e01f8a97fb5a36c05ce /meson.build
parentScale bar now rescales image (diff)
downloadqimv-662d195dfec6e924aef5a9b4d852a03a5671b0b6.tar.xz
Set version through meson
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 3907431..86acf5b 100644
--- a/meson.build
+++ b/meson.build
@@ -16,6 +16,8 @@ summary({
'linker': cxx.get_linker_id(),
}, section: 'Compiler')
+vcs_tag(input: 'src/version.h.in', output: 'version.h')
+
mod_qt5 = import('qt5')
dep_qt5 = dependency('qt5', modules: [ 'Core', 'Widgets' ], include_type: 'system')