summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-12-01 03:05:36 +0100
committerSlávek Banko <[email protected]>2016-12-01 03:05:47 +0100
commita86cb078cbc402986df6e212198a9e451e3f44c4 (patch)
tree5dc7a9ef938fb02fce5ca24b369357e8c0d75cea /kopete/libkopete
parent7b774ba41372239f47b787becb8fb9ef7d809369 (diff)
downloadtdenetwork-a86cb078cbc402986df6e212198a9e451e3f44c4.tar.gz
tdenetwork-a86cb078cbc402986df6e212198a9e451e3f44c4.zip
Fix CMake build dependencies
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit a2f55c2d170e5c9ccd00e4bd42e05b689b7e402e)
Diffstat (limited to 'kopete/libkopete')
-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
)