Fix rotation
[system_status.git] / data_engine / CMakeLists.txt
blobe4502246c99f83299fcb9e5139b20ccf43da227c
1 project(system_monitor)
3 # We add our source code here
4 set(cpu_mon_SRCS cpu_monitor.cpp)
5 set(mem_mon_SRCS mem_monitor.cpp)
7 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
8 include_directories(${KDE4_INCLUDES})
9  
10 # Now make sure all files get to the right place
11 kde4_add_plugin(plasma_engine_cpumonitor ${cpu_mon_SRCS})
12 kde4_add_plugin(plasma_engine_memmonitor ${mem_mon_SRCS})
14 target_link_libraries(plasma_engine_cpumonitor
15                       ${PLASMA_LIBS} ${KDE4_SOLID_LIBS} ${KDE4_KDEUI_LIBS})
16 target_link_libraries(plasma_engine_memmonitor ${PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
18 install(TARGETS plasma_engine_cpumonitor
19         DESTINATION ${PLUGIN_INSTALL_DIR})
21 install(TARGETS plasma_engine_memmonitor
22         DESTINATION ${PLUGIN_INSTALL_DIR})
24 install(FILES plasma-dataengine-cpu_monitor.desktop
25         DESTINATION ${SERVICES_INSTALL_DIR})
27 install(FILES plasma-dataengine-mem_monitor.desktop
28         DESTINATION ${SERVICES_INSTALL_DIR})