3 find_package(KActivities 6.2.0 QUIET CONFIG)
4 set_package_properties(KActivities PROPERTIES DESCRIPTION "KActivities" URL "https://projects.kde.org/projects/kde/kdelibs/kactivities" TYPE REQUIRED PURPOSE "Required for Activities integration in kdepim." )
7 include_directories(${KACTIVITIES_INCLUDE_DIRS} .)
9 add_definitions( -DQT_NO_CAST_FROM_ASCII )
10 add_definitions( -DQT_NO_CAST_TO_ASCII )
13 set(libpimactivity_SRCS
14 widgets/comboboxactivity.cpp
15 widgets/configureidentity.cpp
17 configureactivitywidget.cpp
18 pimwidgets/mailtransport/transportcomboboxactivity.cpp
19 pimwidgets/identity/identitycomboboxactivity.cpp
20 pimwidgets/identity/identitymanageractivity.cpp
21 widgets/configurecollections.cpp
22 widgets/configuremailtransport.cpp
23 widgets/activitywarning.cpp
24 widgets/abstractconfigurewidget.cpp
27 qt4_add_dbus_adaptor(libpimactivity_SRCS pimwidgets/identity/org.kde.pim.IdentityManagerActivity.xml pimwidgets/identity/identitymanageractivity.h PimActivity::IdentityManagerActivity )
29 kde4_add_library(pimactivity ${LIBRARY_TYPE} ${libpimactivity_SRCS})
31 set_target_properties(pimactivity PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION})
33 target_link_libraries(pimactivity
36 ${KACTIVITIES_LIBRARY}
37 ${KDEPIMLIBS_KPIMIDENTITIES_LIBS}
38 ${KDEPIMLIBS_MAILTRANSPORT_LIBS}
39 ${KDEPIMLIBS_KMIME_LIBS}
40 ${KDEPIMLIBS_AKONADI_LIBS}
41 ${KDEPIMLIBS_KPIMUTILS_LIBS}
46 install(TARGETS pimactivity ${INSTALL_TARGETS_DEFAULT_ARGS})
49 add_subdirectory(tests)