mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 06:33:09 +00:00
36 lines
1 KiB
CMake
36 lines
1 KiB
CMake
|
|
|
|
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)
|
|
|
|
target_link_libraries(plasmaphonedialer
|
|
Qt5::Gui
|
|
Qt5::Quick
|
|
Qt5::Widgets
|
|
KF5::Declarative
|
|
KF5::I18n
|
|
KF5::Package
|
|
KF5::QuickAddons
|
|
KF5::DBusAddons
|
|
KF5::Notifications
|
|
${TELEPATHY_QT5_LIBRARIES}
|
|
)
|
|
|
|
install(TARGETS plasmaphonedialer ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
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/)
|