summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-12-01 03:05:36 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-12-01 03:05:47 +0100
commita86cb078cbc402986df6e212198a9e451e3f44c4 (patch)
tree5dc7a9ef938fb02fce5ca24b369357e8c0d75cea /kopete/libkopete/ui/CMakeLists.txt
parent7b774ba41372239f47b787becb8fb9ef7d809369 (diff)
downloadtdenetwork-a86cb078cbc402986df6e212198a9e451e3f44c4.tar.gz
tdenetwork-a86cb078cbc402986df6e212198a9e451e3f44c4.zip
Fix CMake build dependencies
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a2f55c2d170e5c9ccd00e4bd42e05b689b7e402e)
Diffstat (limited to 'kopete/libkopete/ui/CMakeLists.txt')
-rw-r--r--kopete/libkopete/ui/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/kopete/libkopete/ui/CMakeLists.txt b/kopete/libkopete/ui/CMakeLists.txt
index cb224847..f951f857 100644
--- a/kopete/libkopete/ui/CMakeLists.txt
+++ b/kopete/libkopete/ui/CMakeLists.txt
@@ -40,6 +40,17 @@ install( FILES
##### kopeteui (static) #########################
+add_custom_target(
+ kopeteui_base_headers
+ DEPENDS
+ ${CMAKE_CURRENT_BINARY_DIR}/addressbooklinkwidget_base.h
+ ${CMAKE_CURRENT_BINARY_DIR}/addressbookselectorwidget_base.h
+ ${CMAKE_CURRENT_BINARY_DIR}/contactaddednotifywidget.h
+ ${CMAKE_CURRENT_BINARY_DIR}/fileconfirmbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/kopetepasswordwidgetbase.h
+ ${CMAKE_CURRENT_BINARY_DIR}/metacontactselectorwidget_base.h
+)
+
tde_add_library( kopeteui STATIC_PIC AUTOMOC
SOURCES
kopetecontactaction.cpp addcontactpage.cpp editaccountwidget.cpp
@@ -53,4 +64,6 @@ tde_add_library( kopeteui STATIC_PIC AUTOMOC
kopetelistview.cpp kopetelistviewitem.cpp kopetelistviewsearchline.cpp
contactaddednotifywidget.ui contactaddednotifydialog.cpp
addressbooklinkwidget_base.ui addressbooklinkwidget.cpp
+ DEPENDENCIES
+ kopeteui_base_headers
)