CMakeLists.txt 525 Bytes
Newer Older
1
2
3
4
5
6
ki18n_wrap_ui(telhandler_SRCS dialog.ui)

add_executable(kdeconnect-handler kdeconnect-handler.cpp ${telhandler_SRCS})

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

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