2 ########### next target ###############
4 include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/../control )
6 set(solid_hal_power_PART_SRCS
11 kde4_add_library(solid_hal_power_static STATIC ${solid_hal_power_PART_SRCS})
12 target_link_libraries(solid_hal_power_static ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS} solidcontrolifaces)
14 kde4_add_plugin(solid_hal_power module_power.cpp ${solid_hal_power_PART_SRCS})
16 target_link_libraries(solid_hal_power ${KDE4_KDECORE_LIBS} ${KDE4_SOLID_LIBS} solidcontrolifaces)
20 install(TARGETS solid_hal_power DESTINATION ${PLUGIN_INSTALL_DIR} )
23 ########### install files ###############
25 install( FILES solid_hal_power.desktop DESTINATION ${SERVICES_INSTALL_DIR}/solidbackends )