not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kcontrol / energy / CMakeLists.txt
blobe52928e8e3c7518ca49643d84f001a2eedc337a8
2 add_subdirectory( pics ) 
3 if(HAVE_DPMS)
4   include_directories( ${X11_dpms_INCLUDE_PATH}   )
5 endif(HAVE_DPMS)
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} )