22be63ae9e
In theory we support Qt 5.6 (because of SailfishOS) but in practice we are not checking that in the CI so probably we broke the compatibility long ago. Also, I don't think anyone is using this code in SailfishOS, so we can greatly simplify the code by requiring Qt 5.15 or later.
16 lines
456 B
CMake
16 lines
456 B
CMake
add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-cli\")
|
|
|
|
add_executable(kdeconnect-cli kdeconnect-cli.cpp)
|
|
ecm_mark_nongui_executable(kdeconnect-cli)
|
|
|
|
target_link_libraries(kdeconnect-cli
|
|
kdeconnectinterfaces
|
|
kdeconnectcore
|
|
kdeconnectversion
|
|
KF5::CoreAddons
|
|
KF5::I18n
|
|
)
|
|
|
|
install(TARGETS kdeconnect-cli ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
install(FILES kdeconnect.zsh RENAME _kdeconnect DESTINATION ${KDE_INSTALL_ZSHAUTOCOMPLETEDIR})
|