1 include_directories(${BLUEZ_DEFINITIONS} ${CMAKE_CURRENT_SOURCE_DIR}/../control)
3 add_subdirectory(tests)
5 set(solid_bluez_PART_SRCS
7 bluez-bluetoothmanager.cpp
8 bluez-bluetoothinterface.cpp
9 bluez-bluetoothinputdevice.cpp
10 bluez-bluetoothremotedevice.cpp
11 bluez-bluetoothsecurity.cpp
12 bluez-bluetoothsecurityadaptor.cpp
16 kde4_add_library(solid_bluez_static STATIC ${solid_bluez_PART_SRCS})
17 target_link_libraries(solid_bluez_static ${KDE4_KDECORE_LIBS} ${QT_QTXML_LIBRARY} solidcontrolifaces)
19 kde4_add_plugin(solid_bluez module.cpp ${solid_bluez_PART_SRCS})
21 target_link_libraries(solid_bluez ${KDE4_KDECORE_LIBS} ${QT_QTXML_LIBRARY} solidcontrolifaces)
22 install(TARGETS solid_bluez DESTINATION ${PLUGIN_INSTALL_DIR})
24 install(FILES solid_bluez.desktop DESTINATION ${SERVICES_INSTALL_DIR}/solidbackends )