CMakeLists.txt 650 Bytes
Newer Older
1
2
ki18n_wrap_ui(telhandler_SRCS dialog.ui)

3
4
5
6
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})

7
8
9

target_link_libraries(kdeconnect-handler
    kdeconnectinterfaces
10
    kdeconnectcore
11
    kdeconnectversion
12
13
    Qt5::Widgets
    KF5::CoreAddons
14
    KF5::DBusAddons
15
    KF5::I18n
16
    KF5::KIOCore KF5::KIOFileWidgets KF5::KIOWidgets KF5::KIONTLM
17
18
19
)

install(TARGETS kdeconnect-handler ${INSTALL_TARGETS_DEFAULT_ARGS})
Nicolas Fella's avatar
Nicolas Fella committed
20
install(PROGRAMS org.kde.kdeconnect.handler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )