2022-11-13 15:40:05 +00:00
|
|
|
add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-urlhandler")
|
|
|
|
|
2017-06-06 16:48:30 +01:00
|
|
|
ki18n_wrap_ui(telhandler_SRCS dialog.ui)
|
|
|
|
|
2023-04-15 11:57:52 +01:00
|
|
|
qt_add_resources(kdeconnect_custom_icons_SRCS ${CMAKE_SOURCE_DIR}/icons/custom_icons.qrc)
|
2021-06-12 00:31:47 +01:00
|
|
|
|
|
|
|
add_executable(kdeconnect-handler kdeconnect-handler.cpp ${telhandler_SRCS} ${kdeconnect_custom_icons_SRCS})
|
|
|
|
|
2017-06-06 16:48:30 +01:00
|
|
|
|
|
|
|
target_link_libraries(kdeconnect-handler
|
|
|
|
kdeconnectinterfaces
|
2019-06-09 16:28:49 +01:00
|
|
|
kdeconnectcore
|
2020-07-30 09:53:44 +01:00
|
|
|
kdeconnectversion
|
2022-10-29 15:51:41 +01:00
|
|
|
Qt::Widgets
|
2023-04-15 11:57:52 +01:00
|
|
|
KF${QT_MAJOR_VERSION}::CoreAddons
|
|
|
|
KF${QT_MAJOR_VERSION}::DBusAddons
|
|
|
|
KF${QT_MAJOR_VERSION}::I18n
|
|
|
|
KF${QT_MAJOR_VERSION}::KIOCore KF${QT_MAJOR_VERSION}::KIOFileWidgets KF${QT_MAJOR_VERSION}::KIOWidgets
|
2017-06-06 16:48:30 +01:00
|
|
|
)
|
|
|
|
|
2022-04-20 23:50:14 +01:00
|
|
|
install(TARGETS kdeconnect-handler ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
install(PROGRAMS org.kde.kdeconnect.handler.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|