add more spacing
[personal-kdebase.git] / workspace / plasma / applets / systemtray / CMakeLists.txt
blobf5c1ad9590c018205b4cbdf50897ce370e7a8057
1 project(plasma-systemtray)
3 set(systemtray_SRCS
5     core/manager.cpp
6     core/protocol.cpp
7     core/task.cpp
8     core/notification.cpp
9     core/job.cpp
11     protocols/fdo/fdoprotocol.cpp
12     protocols/fdo/fdotask.cpp
13     protocols/fdo/fdonotification.cpp
14     protocols/fdo/fdographicswidget.cpp
15     protocols/fdo/fdoselectionmanager.cpp
16     protocols/fdo/x11embedcontainer.cpp
17     protocols/fdo/x11embeddelegate.cpp
18     protocols/fdo/x11embedpainter.cpp
20     protocols/plasmoid/plasmoidtaskprotocol.cpp
21     protocols/plasmoid/plasmoidtask.cpp
23     protocols/notifications/dbusnotificationprotocol.cpp
24     protocols/notifications/dbusnotification.cpp
26     protocols/jobs/dbusjobprotocol.cpp
27     protocols/jobs/dbusjob.cpp
29     ui/applet.cpp
30     ui/compactlayout.cpp
31     ui/extendertask.cpp
32     ui/taskarea.cpp
33     ui/notificationwidget.cpp
34     ui/jobwidget.cpp
35     )
37 kde4_add_plugin(plasma_applet_systemtray ${systemtray_SRCS})
38 include_directories(${CMAKE_SOURCE_DIR})
39 target_link_libraries(plasma_applet_systemtray ${KDE4_KDEUI_LIBS} ${KDE4_PLASMA_LIBS} ${X11_LIBRARIES} ${X11_Xrender_LIB} ${KDE4_SOLID_LIBS})
40 if(HAVE_XCOMPOSITE AND HAVE_XFIXES AND HAVE_XDAMAGE)
41 target_link_libraries(plasma_applet_systemtray ${X11_Xfixes_LIB} ${X11_Xdamage_LIB} ${X11_Xcomposite_LIB})
42 endif(HAVE_XCOMPOSITE AND HAVE_XFIXES AND HAVE_XDAMAGE)
44 install(TARGETS plasma_applet_systemtray DESTINATION ${PLUGIN_INSTALL_DIR})
45 install(FILES plasma-applet-systemtray.desktop DESTINATION ${SERVICES_INSTALL_DIR})