kde-workspace/dolphin/plugins/git/CMakeLists.txt
Ivailo Monev c68f32e086 dolphin: drop all plugins except git and rewrite it
one of the things that the previous implementation was lacking is the
credentials handling, also it was was very slow because it had to spawn
a process

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-11 03:54:05 +03:00

30 lines
532 B
CMake

project(fileviewgitplugin)
include_directories(
${LIBGIT2_INCLUDE_DIR}
)
set(fileviewgitplugin_SRCS
fileviewgitplugin.cpp
gitcommitdialog.cpp
)
kde4_add_plugin(fileviewgitplugin ${fileviewgitplugin_SRCS})
target_link_libraries(fileviewgitplugin
KDE4::kdecore
KDE4::kdeui
KDE4::kpasswdstore
konq
${LIBGIT2_LIBRARIES}
)
install(
FILES fileviewgitplugin.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)
install(
TARGETS fileviewgitplugin
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)