2 add_subdirectory( pics )
4 include_directories( ${X11_dpms_INCLUDE_PATH} )
8 ########### next target ###############
10 set(kcm_energy_PART_SRCS energy.cpp )
12 set(kscreensaver_xml ${KDEBASE_WORKSPACE_SOURCE_DIR}/krunner/dbus/org.kde.screensaver.xml)
13 QT4_ADD_DBUS_INTERFACE( kcm_energy_PART_SRCS ${kscreensaver_xml} kscreensaver_interface )
15 kde4_add_plugin(kcm_energy ${kcm_energy_PART_SRCS})
18 target_link_libraries(kcm_energy ${KDE4_KIO_LIBS} ${X11_LIBRARIES})
20 install(TARGETS kcm_energy DESTINATION ${PLUGIN_INSTALL_DIR} )
23 ########### install files ###############
25 install( FILES energy.desktop DESTINATION ${SERVICES_INSTALL_DIR} )