Applet reads all birthdays from kab and all events from kcal now.
[plasmaevents.git] / applet / CMakeLists.txt
blobbaf15800dc5e9d15cfca882a9f67efc62e87a4a8
1 # Plasma events project
2 # Motivated by KickPIM for KDE3
3 project(plasmaevents)
4  
5 # Find the required Libaries
6 find_package(KDE4 REQUIRED)
7 include(KDE4Defaults)
8 find_package(Plasma REQUIRED)
9  
10 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
11 include_directories(
12    ${CMAKE_SOURCE_DIR}
13    ${CMAKE_BINARY_DIR}
14    ${KDE4_INCLUDES}
15    )
17 # We add our source code here
18 set(plasmaevents_SRCS plasmaevents.cpp)
20 # Now make sure all files get to the right place
21 kde4_add_plugin(plasma_applet_events ${plasmaevents_SRCS})
22 target_link_libraries(plasma_applet_events
23                       ${PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
25 install(TARGETS plasma_applet_events
26         DESTINATION ${PLUGIN_INSTALL_DIR})
28 install(FILES plasma-applet-events.desktop
29         DESTINATION ${SERVICES_INSTALL_DIR})