CMakeLists.txt 514 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
9
10
11
12
13
14
target_link_libraries(kdeconnect-handler
    kdeconnectinterfaces
    Qt5::Widgets
    KF5::CoreAddons
    KF5::I18n
)

install(TARGETS kdeconnect-handler ${INSTALL_TARGETS_DEFAULT_ARGS})
Volker Krause's avatar
Volker Krause committed
15
install(PROGRAMS org.kde.kdeconnect.telhandler.desktop org.kde.kdeconnect.smshandler.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )