aboutsummaryrefslogtreecommitdiff
path: root/lib/about
diff options
context:
space:
mode:
Diffstat (limited to 'lib/about')
-rw-r--r--lib/about/meson.build14
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/about/meson.build b/lib/about/meson.build
index 961c7ef..e6228c4 100644
--- a/lib/about/meson.build
+++ b/lib/about/meson.build
@@ -1,16 +1,12 @@
-about_moc = qt5.preprocess(
+about_moc = mod_qt5.preprocess(
moc_headers: ['aboutdialog.h', 'aboutplugin.h'],
ui_files: ['aboutdialog.ui', 'aboutplugin.ui'],
dependencies: dep_qt5
)
-about_inc = include_directories('.')
-about_lib = static_library('about', ['aboutdialog.cpp', 'aboutplugin.cpp', about_moc],
- dependencies: [dep_qt5, dep_genheaders]
-)
-
dep_about = declare_dependency(
- include_directories: about_inc,
- link_with: about_lib,
- sources: ['aboutdialog.cpp', about_moc]
+ include_directories: include_directories('.'),
+ link_with: static_library('about',
+ ['aboutdialog.cpp', 'aboutplugin.cpp', about_moc],
+ dependencies: [dep_qt5, dep_genheaders])
)