kdeconnect-kde/cli/CMakeLists.txt
Nicolas Fella a40b694b5c Enable KCrash for all executables
(cherry picked from commit 75bd1c694e)
2024-08-01 13:27:55 +02:00

17 lines
471 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
KF6::CoreAddons
KF6::I18n
KF6::Crash
)
install(TARGETS kdeconnect-cli ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES kdeconnect.zsh RENAME _kdeconnect DESTINATION ${KDE_INSTALL_ZSHAUTOCOMPLETEDIR})