kdelibs/kutils/kpasswdstore/kded/CMakeLists.txt
Ivailo Monev 3fdb845769 kutils: multi-backend knetworkmanager implementation
essentially moving my code from the old networkstatus module, see the
following commits in the kde-workspace repo:
809b90a113bb559a94266464e03cba6f0ed197ae
c46a5297cc49bf4f19f81ee109833fb0abab9a99
3e01d82f44bf587251455368f7502e9e4e204176

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

36 lines
796 B
CMake

########### next target ###############
set(kded_kpasswdstore_SRCS
kded_kpasswdstore.cpp
kpasswdstoreimpl.cpp
${CMAKE_CURRENT_BINARY_DIR}/org.kde.kpasswdstore.xml
)
qt4_generate_dbus_interface(kded_kpasswdstore.h org.kde.kpasswdstore.xml)
kde4_add_plugin(kded_kpasswdstore ${kded_kpasswdstore_SRCS})
target_link_libraries(kded_kpasswdstore PRIVATE
kdecore
kdeui
)
if(OPENSSL_FOUND)
target_link_libraries(kded_kpasswdstore PRIVATE ${OPENSSL_LIBRARIES})
endif()
install(
TARGETS kded_kpasswdstore
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
install(
FILES kpasswdstore.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/kded
)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kpasswdstore.xml
DESTINATION ${KDE4_DBUS_INTERFACES_INSTALL_DIR}
)