add more spacing
[personal-kdebase.git] / runtime / phonon / platform_kde / CMakeLists.txt
blob1bfedf6959f21cfa166e39f410f67dac6ab8c6c7
1 include_directories(${KDE4_KIO_INCLUDES} ${ALSA_INCLUDES})
2 set(kde_PART_SRCS
3         kdeplatformplugin.cpp
4         kiomediastream.cpp
5    devicelisting.cpp
6         )
8 if(ALSA_FOUND)
9    qt4_add_resources(kde_PART_SRCS resources.qrc)
10 endif(ALSA_FOUND)
12 kde4_add_plugin(kde ${kde_PART_SRCS})
13 target_link_libraries(kde ${KDE4_PHONON_LIBS} ${KDE4_KIO_LIBS} ${ASOUND_LIBRARY})
14 if(NOT WIN32)
15   set_target_properties(kde PROPERTIES
16                             INSTALL_RPATH_USE_LINK_PATH TRUE
17                             SKIP_BUILD_RPATH TRUE
18                             BUILD_WITH_INSTALL_RPATH TRUE
19                             INSTALL_RPATH ${LIB_INSTALL_DIR}
20                         )
21 endif(NOT WIN32)
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})