diff --git a/kopete/CMakeLists.txt b/kopete/CMakeLists.txt index 9ee410f55..7715912d6 100644 --- a/kopete/CMakeLists.txt +++ b/kopete/CMakeLists.txt @@ -1,91 +1,91 @@ add_subdirectory( addaccountwizard ) add_subdirectory( statusmenu ) add_subdirectory( identity ) add_subdirectory( contactlist ) add_subdirectory( config ) add_subdirectory( chatwindow ) add_subdirectory( kconf_update ) include_directories( ${KOPETE_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/addaccountwizard ${CMAKE_CURRENT_BINARY_DIR}/addaccountwizard ${CMAKE_CURRENT_SOURCE_DIR}/statusmenu/ ${CMAKE_CURRENT_BINARY_DIR}/statusmenu/ ${CMAKE_CURRENT_SOURCE_DIR}/identity ${CMAKE_CURRENT_BINARY_DIR}/identity ${CMAKE_CURRENT_SOURCE_DIR}/contactlist/ ${CMAKE_CURRENT_BINARY_DIR}/contactlist/ ${CMAKE_CURRENT_SOURCE_DIR}/config/plugins/ ${QIMAGEBLITZ_INCLUDES} ) link_directories( ${KOPETE_BINARY_DIR}/libkopete ${CMAKE_CURRENT_BINARY_DIR}/addaccountwizard ${CMAKE_CURRENT_BINARY_DIR}/identity ${CMAKE_CURRENT_BINARY_DIR}/contactlist ) ########### next target ############### # Contact List set(kopete_SRCS ${kopetecontactlist_SRCS} main.cpp kopeteapplication.cpp systemtray.cpp kopetewindow.cpp kopeteidentitystatusbaricon.cpp kopeteaccountstatusbaricon.cpp kopetedbusinterface.cpp kopetedbusinterface_p.cpp infoeventwidget.cpp ) qt5_add_dbus_adaptor(kopete_SRCS org.kde.Kopete.xml kopetedbusinterface.h KopeteDBusInterface) ecm_qt_declare_logging_category(kopete_SRCS HEADER kopete_debug.h IDENTIFIER KOPETE_LOG CATEGORY_NAME org.kde.kopete.kopete) ki18n_wrap_ui(kopete_SRCS groupkabcselectorwidget.ui infoeventbase.ui ) file(GLOB ICONS_SRCS "*-apps-kopete.png") ecm_add_app_icon(kopete_SRCS ICONS ${ICONS_SRCS}) add_executable(kopete_bin ${kopete_SRCS}) set_target_properties(kopete_bin PROPERTIES RUNTIME_OUTPUT_NAME kopete) target_link_libraries(kopete_bin KF5::Contacts KF5::TextEditor KF5::NotifyConfig KF5::Crash KF5::DBusAddons ${QIMAGEBLITZ_LIBRARIES} kopete kopeteaddaccountwizard kopetestatusmenu kopetecontactlist kopeteidentity ) install(TARGETS kopete_bin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ) ########### install files ############### install( PROGRAMS org.kde.kopete.desktop DESTINATION ${KDE_INSTALL_APPDIR}) install(FILES kopeteui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kopete) -install( FILES kopete.notifyrc DESTINATION ${KDE_INSTALL_DATADIR}/kopete) +install( FILES kopete.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR}) install( FILES kopeterc DESTINATION ${KDE_INSTALL_CONFDIR} ) install( FILES org.kde.Kopete.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} ) install(FILES org.kde.kopete.appdata.xml DESTINATION ${CMAKE_INSTALL_METAINFODIR}) file(GLOB icons_png "*.png") file(GLOB icons_svg "*.svgz") ecm_install_icons(ICONS ${icons_png} ${icons_svg} DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor)