aboutsummaryrefslogtreecommitdiff
path: root/3rd-party
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-23 11:53:50 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-23 11:53:50 +0200
commit547d6a4a8ed5ac2e8d922c0c7cfb294e0a3ceed4 (patch)
treea2aa608a744ba79ee84c495128df1059430f82a6 /3rd-party
parentInitial meson build files (diff)
downloadsmolbote-547d6a4a8ed5ac2e8d922c0c7cfb294e0a3ceed4.tar.xz
Fix link errors
Diffstat (limited to '3rd-party')
-rw-r--r--3rd-party/SingleApplication/meson.build7
1 files changed, 2 insertions, 5 deletions
diff --git a/3rd-party/SingleApplication/meson.build b/3rd-party/SingleApplication/meson.build
index a52df27..54ef8e4 100644
--- a/3rd-party/SingleApplication/meson.build
+++ b/3rd-party/SingleApplication/meson.build
@@ -6,7 +6,8 @@ SingleApplication_moc = qt5.preprocess(
)
SingleApplication_lib = static_library('SingleApplication',
- ['SingleApplication.git/singleapplication.cpp', 'SingleApplication.git/singleapplication_p.cpp'],
+ ['SingleApplication.git/singleapplication.cpp', 'SingleApplication.git/singleapplication_p.cpp', SingleApplication_moc],
+ include_directories: SingleApplication_inc,
cpp_args : '-DQAPPLICATION_CLASS=QApplication',
dependencies: dep_qt5
)
@@ -16,10 +17,6 @@ dep_SingleApplication = declare_dependency(
link_with: SingleApplication_lib
)
-# target_include_directories(['SingleApplication', 'PUBLIC', 'SingleApplication.git'])
-# target_link_libraries(['SingleApplication', 'Qt5::Core', 'Qt5::Network', 'Qt5::Widgets'])
-# target_compile_definitions(['SingleApplication', 'PRIVATE', 'QAPPLICATION_CLASS=QApplication'])
-
#if cmake_system_name, 'MATCHES', 'Windows'
# target_link_libraries(['SingleApplication', 'Advapi32'])
#endif