summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
)