1
add_definitions(-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
3
KDE4_NO_ENABLE_FINAL(kopete)
5
add_subdirectory( icons )
7
include_directories( ${KOPETE_INCLUDES} ${LIBGADU_INCLUDE_DIRS} }
11
########### next target ###############
13
set(kopete_gaduui_SRCS)
15
kde4_add_ui_files(kopete_gaduui_SRCS
16
ui/gadueditaccountui.ui
19
ui/gaduregisteraccountui.ui
23
set(kopete_gadu_PART_SRCS
31
gaduaddcontactpage.cpp
35
gaduregisteraccount.cpp
37
gadurichtextformat.cpp
39
gadudcctransaction.cpp
43
kde4_add_plugin(kopete_gadu ${kopete_gadu_PART_SRCS})
46
target_link_libraries(kopete_gadu ${KDE4_KIO_LIBS} ${QT_QTNETWORK_LIBRARY} ${KDE4_KDE3SUPPORT_LIBS} ${LIBGADU_LIBRARIES} kopete )
48
install(TARGETS kopete_gadu DESTINATION ${PLUGIN_INSTALL_DIR})
51
########### install files ###############
53
install( FILES kopete_gadu.desktop DESTINATION ${SERVICES_INSTALL_DIR})