Warning, /network/kdenetwork-filesharing/samba/filepropertiesplugin/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_library(sambausershareplugin MODULE
0002     sambausershareplugin.cpp
0003     model.cpp
0004     usermanager.cpp
0005     groupmanager.cpp
0006     permissionshelper.cpp
0007     qml/qml.qrc
0008 )
0009 
0010 target_link_libraries(sambausershareplugin
0011     KF6::CoreAddons
0012     KF6::I18n
0013     KF6::KIOCore
0014     KF6::KIOWidgets
0015     Qt::Qml
0016     Qt::QuickWidgets
0017     QCoro6::Coro
0018     KF6::AuthCore
0019 )
0020 
0021 if(SAMBA_INSTALL)
0022     target_sources(sambausershareplugin PRIVATE sambainstaller.cpp)
0023     target_link_libraries(sambausershareplugin PK::packagekitqt6)
0024 endif()
0025 
0026 install(TARGETS sambausershareplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf6/propertiesdialog)
0027 
0028 # kauth
0029 
0030 kauth_install_actions(org.kde.filesharing.samba org.kde.filesharing.samba.actions)
0031 add_executable(authhelper authhelper.cpp)
0032 target_link_libraries(authhelper KF6::AuthCore KF6::ConfigCore KF6::I18n)
0033 
0034 kauth_install_helper_files(authhelper org.kde.filesharing.samba root)
0035 install(TARGETS authhelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})