kdeconnect-kde/cli/CMakeLists.txt
ivan tkachenko 53174acdf4 CMake: Bump minimum required version of ECM
Bump the required version of ECM to provide the ZSH install directory

See also: 232ed339c2
2022-12-06 22:09:59 +00:00

18 lines
488 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})
if (NOT SAILFISHOS)
install(FILES kdeconnect.zsh RENAME _kdeconnect DESTINATION ${KDE_INSTALL_ZSHAUTOCOMPLETEDIR})
endif()