summaryrefslogtreecommitdiffstats
path: root/kopete
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:36 +0100
commita2f55c2d170e5c9ccd00e4bd42e05b689b7e402e (patch)
tree8859333a6e633d93186a28edaa5125c264fc69f4 /kopete
parent9faa91eecd162a3d9758a2ecd951578e9b7b19e6 (diff)
downloadtdenetwork-a2f55c2d170e5c9ccd00e4bd42e05b689b7e402e.tar.gz
tdenetwork-a2f55c2d170e5c9ccd00e4bd42e05b689b7e402e.zip
Fix CMake build dependencies
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kopete')
-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
)