Fix CMake build dependencies

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a2f55c2d17)
pull/38/head
Slávek Banko 8 years ago
parent 7b774ba413
commit a86cb078cb

@ -40,6 +40,17 @@ install( FILES
##### kopeteui (static) ######################### ##### 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 tde_add_library( kopeteui STATIC_PIC AUTOMOC
SOURCES SOURCES
kopetecontactaction.cpp addcontactpage.cpp editaccountwidget.cpp kopetecontactaction.cpp addcontactpage.cpp editaccountwidget.cpp
@ -53,4 +64,6 @@ tde_add_library( kopeteui STATIC_PIC AUTOMOC
kopetelistview.cpp kopetelistviewitem.cpp kopetelistviewsearchline.cpp kopetelistview.cpp kopetelistviewitem.cpp kopetelistviewsearchline.cpp
contactaddednotifywidget.ui contactaddednotifydialog.cpp contactaddednotifywidget.ui contactaddednotifydialog.cpp
addressbooklinkwidget_base.ui addressbooklinkwidget.cpp addressbooklinkwidget_base.ui addressbooklinkwidget.cpp
DEPENDENCIES
kopeteui_base_headers
) )

Loading…
Cancel
Save