1 include_directories(${KDE4_KIO_INCLUDES} ${ALSA_INCLUDES})
9 qt4_add_resources(kde_PART_SRCS resources.qrc)
12 kde4_add_plugin(kde ${kde_PART_SRCS})
13 target_link_libraries(kde ${KDE4_PHONON_LIBS} ${KDE4_KIO_LIBS} ${ASOUND_LIBRARY})
15 set_target_properties(kde PROPERTIES
16 INSTALL_RPATH_USE_LINK_PATH TRUE
18 BUILD_WITH_INSTALL_RPATH TRUE
19 INSTALL_RPATH ${LIB_INSTALL_DIR}
22 install(TARGETS kde DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/phonon_platform)
23 install(FILES phonon.notifyrc DESTINATION ${DATA_INSTALL_DIR}/phonon)
24 install(FILES phononbackend.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})