002848efa8
This is complicated by the Qt 5.6 requirement of SailfishOS, hopefully that didn't get broken by this.
20 lines
651 B
CMake
20 lines
651 B
CMake
ki18n_wrap_ui(telhandler_SRCS dialog.ui)
|
|
|
|
qt5_add_resources(kdeconnect_custom_icons_SRCS ${CMAKE_SOURCE_DIR}/icons/custom_icons.qrc)
|
|
|
|
add_executable(kdeconnect-handler kdeconnect-handler.cpp ${telhandler_SRCS} ${kdeconnect_custom_icons_SRCS})
|
|
|
|
|
|
target_link_libraries(kdeconnect-handler
|
|
kdeconnectinterfaces
|
|
kdeconnectcore
|
|
kdeconnectversion
|
|
Qt::Widgets
|
|
KF5::CoreAddons
|
|
KF5::DBusAddons
|
|
KF5::I18n
|
|
KF5::KIOCore KF5::KIOFileWidgets KF5::KIOWidgets KF5::KIONTLM
|
|
)
|
|
|
|
install(TARGETS kdeconnect-handler ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
|
install(PROGRAMS org.kde.kdeconnect.handler.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|