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

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

Nicolas Fella's avatar
Nicolas Fella committed
5
6
target_include_directories(kdeconnect-handler PUBLIC ${CMAKE_BINARY_DIR})

7
8
target_link_libraries(kdeconnect-handler
    kdeconnectinterfaces
9
    kdeconnectcore
10
11
12
13
14
15
    Qt5::Widgets
    KF5::CoreAddons
    KF5::I18n
)

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