diff options
-rw-r--r-- | meson.build | 4 |
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) |