shift-shell/dialer/src/CMakeLists.txt

39 lines
1.1 KiB
Text
Raw Normal View History

set(plasmaphonedialer_SRCS
main.cpp
dialerutils.cpp
call-handler.cpp
call-manager.cpp
)
add_executable(plasmaphonedialer ${plasmaphonedialer_SRCS})
target_compile_definitions(plasmaphonedialer PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
#find_package(ActiveApp REQUIRED)
find_package(PhoneNumber REQUIRED)
target_link_libraries(plasmaphonedialer
PhoneNumber::PhoneNumber
Qt5::Gui
Qt5::Quick
Qt5::Widgets
KF5::Declarative
KF5::I18n
KF5::Package
KF5::QuickAddons
KF5::DBusAddons
2015-04-26 14:42:14 +00:00
KF5::Notifications
${TELEPATHY_QT5_LIBRARIES}
)
install(TARGETS plasmaphonedialer ${INSTALL_TARGETS_DEFAULT_ARGS})
2015-04-26 14:42:14 +00:00
install(FILES plasma_dialer.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR})
configure_file(org.freedesktop.Telepathy.Client.Plasma.Dialer.service.in
org.freedesktop.Telepathy.Client.Plasma.Dialer.service)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.freedesktop.Telepathy.Client.Plasma.Dialer.service
DESTINATION ${DBUS_SERVICES_INSTALL_DIR})
install(FILES Plasma.Dialer.client DESTINATION ${SHARE_INSTALL_PREFIX}/telepathy/clients/)