From 547d6a4a8ed5ac2e8d922c0c7cfb294e0a3ceed4 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 23 Oct 2018 11:53:50 +0200 Subject: Fix link errors --- lib/configuration/meson.build | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/configuration') diff --git a/lib/configuration/meson.build b/lib/configuration/meson.build index ea78f8d..b166d5e 100644 --- a/lib/configuration/meson.build +++ b/lib/configuration/meson.build @@ -1,11 +1,15 @@ configuration_inc = include_directories('.') -configuration_lib = static_library('configuration', ['configuration.cpp', 'configuration.h'], +configuration_moc = qt5.preprocess( + moc_headers: ['configuration.h'], + dependencies: dep_qt5 +) + +configuration_lib = static_library('configuration', ['configuration.cpp', configuration_moc], dependencies: [dep_boost, dep_qt5], include_directories: genheader_inc ) dep_configuration = declare_dependency( include_directories: configuration_inc, - link_with: configuration_lib, - sources: ['configuration.cpp', 'configuration.h'] + link_with: configuration_lib ) -- cgit v1.2.1