set( KWalletPasswords_SRCS
	kwalletplugin.cpp
	kwalletpasswordbackend.cpp
	)

ecm_create_qm_loader( KWalletPasswords_SRCS falkon_kwalletpasswords_qt )

set( KWalletPasswords_RSCS
	kwalletpasswords.qrc
	)
qt5_add_resources(RSCS ${KWalletPasswords_RSCS})

add_library(KWalletPasswords MODULE ${KWalletPasswords_SRCS} ${RSCS})
install(TARGETS KWalletPasswords DESTINATION ${FALKON_INSTALL_PLUGINDIR})
target_link_libraries(KWalletPasswords FalkonPrivate KF5::Wallet)

