Paste P504

Masterwork From Distant Lands
ActivePublic

Authored by davidedmundson on Dec 9 2019, 8:15 PM.
commit 15d52c238bc7757b134da201297bf5a97544fb1d
Author: David Edmundson <kde@davidedmundson.co.uk>
Date: Mon Dec 9 20:12:13 2019 +0000
Fix all the things
diff --git a/src/declarative/CMakeLists.txt b/src/declarative/CMakeLists.txt
index 491d05c..d73025e 100644
--- a/src/declarative/CMakeLists.txt
+++ b/src/declarative/CMakeLists.txt
@@ -1,8 +1,11 @@
-qt5_wrap_cpp(kpeopledeclarative_SRCS ../widgets/actions.cpp)
-add_library(KF5PeopleDeclarative SHARED
- declarativepersondata.cpp
- personactionsmodel.cpp
- peopleqmlplugin.cpp ${kpeopledeclarative_SRCS})
+set(kpeopledeclarative_SRCS
+ declarativepersondata.cpp
+ personactionsmodel.cpp
+ peopleqmlplugin.cpp)
+
+qt5_wrap_cpp(kpeopledeclarative_SRCS ../widgets/actions.h TARGET KF5PeopleDeclarative)
+
+add_library(KF5PeopleDeclarative SHARED ${kpeopledeclarative_SRCS})
target_link_libraries(KF5PeopleDeclarative
Qt5::Qml
davidedmundson edited the content of this paste. (Show Details)Dec 9 2019, 8:15 PM
davidedmundson changed the title of this paste from untitled to Masterwork From Distant Lands.